Questions tagged as 'retrofit'

1
answer

Load files while scrolling in a Recycler View with retrofit

I am new to the community and I have a problem, I want to implement the Endless Scroll or Infinite Scroll as some call it in a recycler view to load items, since I currently show the 11500 results in recycler view , this same wi...
asked by 09.05.2018 / 00:42
1
answer

Problem to send json between Activitys with retorfit

I have the following problem I am trying to bring a list of objects that I get from a json , from an activity through a controller. Within the code that I am attaching, what I am looking for is to pass the list of specialties to my MainAct...
asked by 01.02.2018 / 17:35
1
answer

ProgressDialog does not work in Custom Listener

I have a custom Listener public interface CustomListener { void processDownload(boolean isSuccess,int process,int total); } And the ControllerRequest class where I use the listener , and I have the onProcessDownload method that wil...
asked by 08.11.2017 / 00:37
2
answers

Where is the error when inserting into my database from android with the help of retrofit 2.3.0?

Hi, I'm doing an app where I have to insert data in a database table, so far I'm just doing tests to see how retrofit works, the question is that I already make an example where I have to insert only id, name , and last name in the table, the id...
asked by 31.08.2017 / 18:24
1
answer

Android App with Retrofit consuming of api does not show the list

Well, the fact is that I just want to show the name of the countries in a list, but I do not know how to get the name only: This is the main class: listView = (ListView) findViewById(R.id.list_view); textView = (TextView) findViewB...
asked by 27.11.2016 / 13:22
0
answers

Fill Mapview with bookmarks from Json with Retrofit (Help)

I am working on an app that fills a MapView with markers brought from a Web Service using Retrofit, and I have been trying to create a method to add all the markers from Json to the MapView, but it only adds 1, Does anyone know in that Could I b...
asked by 08.12.2018 / 22:27
0
answers

Android Retrofit 2 Synchronous

I want to make a synchronous call in retrofit inside an AsyncTask. I am generating the json in php, I saw that the size is almost 900kb, I read it, and I save it in a sqlite database, then I call another json and then another. I'm a little lo...
asked by 16.10.2018 / 05:50
0
answers

Android sqlite retrofit 2

I have an application developed in java in android studio, I save data in a sqlite database, then the saved data I want to upload using retrofit to a server, how could I do that? thanks.     
asked by 16.10.2018 / 14:44
1
answer

What to return in a login when the user does not exist or exists but the password is wrong ?, using Retrofit

Good morning everyone. I am facing the following situation: I am making a login using Retrofit for the requests, these return the user's data when it is successfully logged in with a json. The validation is done by php, the problem aris...
asked by 07.10.2018 / 03:30
0
answers

Save List in realm

   response model @SerializedName("modules") @Expose private List<Module> modules = null;    model module @SerializedName("idmodulo") @Expose private String idmodulo; @SerializedName("nombre") @Expose...
asked by 04.09.2018 / 05:44