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

Android Retrofit Return Status 500 Internal Server Error

I am using Retrofit like this to get all the books and delete all the books. @GET('/books'… Read more Android Retrofit Return Status 500 Internal Server Error

Response.body().getbasketshoplist Is Empty, But Api Json In Postman Is Not Empty

I am new to Android, it's about a week that I am spending 3 hours a day on this problem but sti… Read more Response.body().getbasketshoplist Is Empty, But Api Json In Postman Is Not Empty

How To Post A Bitmap To A Server Using Retrofit/android

I'm trying to post a bitmap to a server using Android and Retrofit. Currently I know how to po… Read more How To Post A Bitmap To A Server Using Retrofit/android

Valuerequiredexception During Rss Feed Parsing In Retrofit

I'm trying to write a simple RSS reader app for Android. I'm using Retrofit for network com… Read more Valuerequiredexception During Rss Feed Parsing In Retrofit

Send Form Data To Server In Retrofit

Trying to send form data to the server via Retrofit but unable to request to the server. I want to … Read more Send Form Data To Server In 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?

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

Networkonmainthreadexception With Retrofit-beta2 And Rxjava

I recently upgraded from retroft-beta1 and this was working. I have the following interface for the… Read more Networkonmainthreadexception With Retrofit-beta2 And Rxjava

How To Use Retrofit In Android?

I am having a hard time in understanding the Retrofit for my App. I want to use retrofit in it but … Read more How To Use Retrofit In Android?

How To Access Child Item In Json Array

I am querying FlickR based on certain search terms, and the response is a JSON Array. Here is the r… Read more How To Access Child Item In Json Array

How To Address Multiple Api End Points Using Retrofit?

In my Android project I am using the following Retrofit ApiModule for one API end point. Please not… Read more How To Address Multiple Api End Points Using Retrofit?

Retrofit Call In Kotlin Coroutines Viewmodelscope

Recently I've updated my ViewModel to use new viewModelScope. From its' implementation, I s… Read more Retrofit Call In Kotlin Coroutines Viewmodelscope

How To Get Both A Pojo And The Raw Response String Back With Retrofit?

FATAL EXCEPTION: main Process: com.packagename, PID: 11371 java.lang.IllegalStateException: Cannot … Read more How To Get Both A Pojo And The Raw Response String Back With Retrofit?

Trying To Get Retrofit Onresponse Executed First

My list in my activity called AllStores contains only null. I need this list, because I want to pop… Read more Trying To Get Retrofit Onresponse Executed First

Android Networking Library: Is It Still Worth Using Volley?

This question is actually not about the coding, so I don't put any codes here. While looking in… Read more Android Networking Library: Is It Still Worth Using Volley?

Execution Failed For Task ':app:kaptdebugkotlin' When I Create Moshi Data Class

When I create Moshi Data Class, It doesn't build properly The following is the Error when I try… Read more Execution Failed For Task ':app:kaptdebugkotlin' When I Create Moshi Data Class

Retrofit Sockettimeoutexception (and/or Http 500 Error) On Http-post

I'm trying to do a POST request to our backend server, but I keep getting SocketTimeOutExceptio… Read more Retrofit Sockettimeoutexception (and/or Http 500 Error) On Http-post

Retrofit Closing Response Body

I've been getting this error: A connection to ****** was leaked. Did you forget to close a res… Read more Retrofit Closing Response Body

Retrofit 2 Working In Postman And Localhost But Not On Amazon Aws Live Server

My retrofit instance is working fine with localhost (both android code and postman), and working fi… Read more Retrofit 2 Working In Postman And Localhost But Not On Amazon Aws Live Server

How Can I Parse An Associative Array Using Gson Converter In Retrofit?

I'm receiving a JSON response from a PHP server. In android, I need to write a java model (POJO… Read more How Can I Parse An Associative Array Using Gson Converter In Retrofit?