Skip to content Skip to sidebar Skip to footer
Showing posts with the label 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

Manually Parse Part Of A Response When Using Retrofit

I'm working with a REST API that returns a JSON document that starts as follows and includes a … Read more Manually Parse Part Of A Response When Using Retrofit

Android Custom Dialog With Mvvm

I am creating custom dialog and i want when the user click add button go and call retrofit and obse… Read more Android Custom Dialog With Mvvm

How To Handle Pagination In Retrofit

I'm building an app using retrofit. Everything's working swimmingly, but I'm worried ab… Read more How To Handle Pagination In Retrofit

Retrofit 2: How To Set Individual Timeouts On Specific Requests?

I have set a global timeout in my Retrofit adapter by doing OkHttpClient okHttpClient = new OkHttpC… Read more Retrofit 2: How To Set Individual Timeouts On Specific Requests?

The Best Way To Debug Retrofit Error Messages

I'm new to Retrofit. I have used Volley, and I kind of like Retrofit. I was just about to sele… Read more The Best Way To Debug Retrofit Error Messages

Retrofit And Orm Library Throw Stackoverflow

I try to use 2 libraries: square/Retrofit - Rest client satyan/sugar - db orm retrofit use gson, … Read more Retrofit And Orm Library Throw Stackoverflow

Gson Throws Expected Begin_array But Was Begin_object Error

I am using retrofit and parse result with GSON. Don't know why but I receive this one Expecte… Read more Gson Throws Expected Begin_array But Was Begin_object Error

Json Parsing With Retrofit

I started using Retrofit recently. I don't know much about it. I have googled this issue and no… Read more Json Parsing With Retrofit

Okhttp Put Example

My requirement is to use PUT, send a header and a body to server which will update something in the… Read more Okhttp Put Example

Response In 202 Status In Retrofit2.0

i want to convert the Response in to JSON and show it to the User .I was able to display 200 resp… Read more Response In 202 Status In Retrofit2.0

Rxjava Retrofit Parse Api Error For User

I'm using RxJava with retrofit in a library project. Everything is working fine, I get the expe… Read more Rxjava Retrofit Parse Api Error For User

Retrofit 2 Can't Upload A File With Two Additional Separate String Parameters

Read edit at bottom of the question for possible alternative solution until the solution is found. … Read more Retrofit 2 Can't Upload A File With Two Additional Separate String Parameters

How Does Polymorphism Work With Gson (retrofit)

Here is my Retrofit instance: @Provides @Singleton ApiManager provideApiManager() { RxJava2Call… Read more How Does Polymorphism Work With Gson (retrofit)

Android Retrofit Post Json Object

Hi i am new using Retrofit and i am stucked for posting an json to the server. Initially i … Read more Android Retrofit Post Json Object

Retrofit Post Request With Body Parameters Android

I need to execute post request with retrofit but i have a problem which i can't understand very… Read more Retrofit Post Request With Body Parameters Android

How To Get Retrofit Callback Get Response Body In Json Formate

I'm using Retrofit for integrating web services and when run my app controller going to Retrofi… Read more How To Get Retrofit Callback Get Response Body In Json Formate

Call A Function After Retrofit And Rxjava Completes

Here's my code final ApiInterface apiInterface=restAdapter.create(ApiInterface.class); apiInter… Read more Call A Function After Retrofit And Rxjava Completes

Bad Request [400], Fcm Legacy Http Api With Retrofit

URL = https://fcm.googleapis.com/fcm/send Request Body { 'registration_ids': ['token 1&… Read more Bad Request [400], Fcm Legacy Http Api With Retrofit

How To Add Tls V 1.0 And Tls V.1.1 With Retrofit

I am using retrofit for data transfer, but few days ago i got problem with ssl certificates: SSL … Read more How To Add Tls V 1.0 And Tls V.1.1 With Retrofit