retrofit2 tag

12 questions


2 answers
159 views
0
Open Weather Web GSON Parsing

We're testing the open weather web to retrieve data using Retrofit2 By the way, I receive the data well, but there is a part of GSON parsing that I do not know, so I would like to ask you a question {...

2 years ago

1 answers
155 views
0
Android retrofit2 questions

Is there a way to automatically log the parameters used while using retrofit2?I think I can do something about the interceptor, but it's not working well

2 years ago

2 answers
146 views
0
I'm trying to send an image file from Android retrofit2 to a spring server, but I couldn't work on it, so I'm posting a questioncrying

public static insertPromoteMsg insertPromoteMsgAPI() { return (insertPromoteMsg) retrofit(insertPromoteMsg.class); } public interface insertPromoteMsg { @Multipart @POST(/insertPromoteMsgApp3.do) ...

2 years ago

1 answers
154 views
0
Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $ error...

We are currently trying to communicate with Android Studio using retrofit2 library.The server is using the restful API and responds with a json type.Expected BEGIN_ARRAY but BEGIN_OBJECT at line 1 col...

2 years ago

1 answers
82 views
0
Retrofit2+GsonConverter Generic Type Auto-Converting

public class ResultVO<T> { public Result result; public Result getResult() { return result; } public class Result { public String code; public ArrayList<T> data; public String getCode(...

2 years ago

1 answers
144 views
0
When you communicate Retrofit2, the message End of input at line 1 column 1 appears and falls to onFailure.

Retrofit2 is in use. If you communicate with the API that registers the user, it is processed well, so you can check that it has entered the DB, but in retrofit, it cannot go to onResponse and falls t...

2 years ago

1 answers
113 views
0
Multipart Application Method Using Android Retrofit2

I am working on replacing the communication API with retrofit2Only Communicating plain text parameters works well Blocked in placing and uploading image.The result keeps failing, but I don't know wher...


1 answers
74 views
0
Android Retrofit2 + Ok Http3 Why We Use It Together

Why are we using Retrofit2 + OkHttp3 together?I heard from someone that they use it together because of encryption. Is it right to tie it together because it's encryption?

2 years ago

1 answers
144 views
0
If you know anything about retrofit, please help me

I want to get the barcode number if there is a barcode in DB when I take a barcode.So I searched here and there and googled, but there were overwhelmingly many things that brought the entire DB.First ...

2 years ago

1 answers
73 views
0
[Android] Retrofit. Here's the question

Interface used within Android Studio.public interface ApiInterface { @GET(test.php) Call<Person> getPerson(@Query(name) String keyword);}Call<List<Person>>Not like that, use it like ...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.