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

Regulate Network Calls In Syncadapter Onperformsync

I m sending several retrofit calls via SyncAdapter onPerformSync and I m trying to regulate http ca… Read more Regulate Network Calls In Syncadapter Onperformsync

Android: Library Project With Retrofit Results In Noclassdeffounderror

I'm trying to build an android library project which uses OkHttp and Retrofit to grant access t… Read more Android: Library Project With Retrofit Results In Noclassdeffounderror

Android - Proguard And Retrofit 2?

I am using from Proguard for my project and bellow code is in my proguard-rules.pro : # Retrofit -k… Read more Android - Proguard And Retrofit 2?

Proper Way To Map Complex Json As A Java Object With Retrofit And Gson

If the JSON Object I'm getting from the REST API has the following structure: { 'IsError&… Read more Proper Way To Map Complex Json As A Java Object With Retrofit And Gson

Adding Authorization Header Interface Android Retrofit

I'm using retrofit library for solving my tasks connected with requests to server. I have got p… Read more Adding Authorization Header Interface Android Retrofit

Retrofit 2 Error: Networkonmainthreadexception

I'm trying to do a synchronous request to my server in Android. (Code works flawlessly in a pla… Read more Retrofit 2 Error: Networkonmainthreadexception

Handle JSON Response With Multiple Type Of The Same Name

The JSON response is : { 'success': false, 'errorMessages': [ '… Read more Handle JSON Response With Multiple Type Of The Same Name

Error When Using Retrofit

I'm trying to get data from web server.I'n new with Retrofit ,and I have error 'No Retr… Read more Error When Using Retrofit

Retrofit OKHTTP Offline Caching Not Working

I read dozens of tutorial and Stackoverflow answers to my problem but nothing is working for me! Al… Read more Retrofit OKHTTP Offline Caching Not Working

Parsing JSON Array That Contain Objects With Different Attributes With Retrofit

how can I parse JSON array that contains JSON objects without names and each object have his own at… Read more Parsing JSON Array That Contain Objects With Different Attributes With Retrofit

How Can I Get Token With Retrofit2?

I have a web service link for token login. But in this link, there is no '/' at the end of … Read more How Can I Get Token With Retrofit2?

Get Data From API Using Retrofit

I need to get the details from the API and display them in textviews. Here's my API in JSON fo… Read more Get Data From API Using Retrofit

How To Send FCM Notification From Android Using Retrofit?

I am want send fcm notification from android device to another device , using retrofit . I try this… Read more How To Send FCM Notification From Android Using Retrofit?

Can't Get ArrayList Outside Of For Loop In Call.enqueue

I want to get ArrayList data out of for loop from call.enqueue method in Retrofit. how to access li… Read more Can't Get ArrayList Outside Of For Loop In Call.enqueue

Android Local Tests Vs Instrumented Test

I'm trying to check if my API is available within a unit test, to be sure that it responds with… Read more Android Local Tests Vs Instrumented Test

Android Retrofit2 Response Data, Null How To Fix It?

I just posted a similar question on Stack Overflow and learned how to handle it with the body, but … Read more Android Retrofit2 Response Data, Null How To Fix It?