Skip to content Skip to sidebar Skip to footer
Showing posts with the label Retrofit2

How To Handle Retrofit Socket Timeout For Uploading Files In Android Kotlin?

var client = OkHttpClient() val builder = OkHttpClient.Builder() val gson =… Read more How To Handle Retrofit Socket Timeout For Uploading Files In Android Kotlin?

How To Have Retrofit To Unescape Html Escaped Symbols?

I use Retrofit2 and GSON to deserialize incoming JSON. Here is my code in Android app: public class… Read more How To Have Retrofit To Unescape Html Escaped Symbols?

Java.io.eofexception: End Of Input At Line 1 Column 1

My Retrofit should recieve a List of Bookmarks, and everything worked while I was using WAMP server… Read more Java.io.eofexception: End Of Input At Line 1 Column 1

How To Send Photos To Server With Additional Fields In Android App?

I try to send multiple photos to server with Retrofit. I have endpoint like this: @Multipart @POST(… Read more How To Send Photos To Server With Additional Fields In Android App?

Retrofit --> Java.lang.illegalstateexception: Expected Begin_array But Was Begin_object At Line 1 Column 2 Path $

None of the posts i found have helped me understand what im supposed to do. Stuck on this for quite… Read more Retrofit --> Java.lang.illegalstateexception: Expected Begin_array But Was Begin_object At Line 1 Column 2 Path $

Httplogginginterceptor For Http Request & Response Logging

I'm using retrofit2 and I need to log all request and response. Request and response works perf… Read more Httplogginginterceptor For Http Request & Response Logging