Questions tagged as 'retrofit'

2
answers

Convert array json into retrofit

I have the following return in json { "cardapio": [ { "tipoprato": "SALADAS", "pratos": [ { "prato": "ALFACE + REPOLHO ROXO" } ] },...
asked by 31.07.2017 / 21:08
1
answer

Onclick on android not working

Good people, all right? I'm using a RecyclerView to popular my list on Android and for that I have an adapter and a view holder. Follow Adapter source code with ViewHolder public class MoviesAdapter extends RecyclerView.Adapter<MoviesAda...
asked by 15.12.2017 / 14:10
2
answers

Consuming Webservices with Android - Retrofit or Volley? [closed]

The question is just this: to consume Webservices with Android - Retrofit or Volley? I found the two complicated at first, but reading the documentation seemed to me that retrofit might be somewhat less complicated. What do you suggest?     
asked by 02.11.2017 / 03:15
1
answer

Forms of Popular ListView with Retrofit 2

Although there is already a similar question, I did not clarify my question, my problem is as follows, the code below is Retrofit's onResponse, I'm starting now in Java, I'd like to play the response.body result in listView, I I got a string for...
asked by 30.07.2017 / 15:54
1
answer

Error when using Retrofit 2

   t = {movieName} & apikey = 11111 "must not have replace block.   dynamic query parameters use @Query. This error happens when trying to search for a movie by name, I have the following codes, but the error remains: Retrofit retrofit = n...
asked by 25.07.2017 / 15:35
1
answer

Retrofit = Manipulating the response

Well, I'm asking for more help from friends, but I really can not understand the dynamics. Following tutorials and explanations here of the forum I am TRYING to use Retrofit but it is not working. I have the following JSON below,...
asked by 21.12.2018 / 11:27
1
answer

Failed to use the Retrofit library in Android Studio

Following the tutorial below, link What about the use of the Retrofit library , for testing, I've created: A Activity that I called retrofit and a BUTTON on it package carcleo.com.radiosingular; import android.support.v7.app...
asked by 17.12.2018 / 17:25
1
answer

StackOverflowError Retrofit With Basic Authentication

I have a ServiceGenerator that creates the retrofit for min, it works fine when I login and password for it, but when I try to use it without these options, my code goes into a loop and crash the app like this: 12-22 01:27:55.088 8500-8500/dou...
asked by 22.12.2017 / 02:33
2
answers

How to make a list from a request GET in Retrofit 2? [closed]

My question is how do I get the JSON of the request and put it in an ArrayList so that I can inflate the RecyclerView. Thanks in advance.     
asked by 12.12.2017 / 05:17
1
answer

Problem with accented text JSON - Android + Retrofit

I'm consuming data from a webservice that returns a list with JSON objects, like this: [{"idPDV":3062,"nomeFantasia":"SEBASTIÃO JOSÉ DOS SANTOS","endereco":"RUA MANCHE CATAN DAVID, 130","bairro":"VIDA NOVA","CEP":"79017164","latitude":"-20.38...
asked by 27.09.2017 / 19:46