In this post, we will see how to resolve how to make api request call on Application class on Kotlin Question: I need to get a data from an endpoint at begin of my app. I don’t know if this ...
In this post, we will see how to resolve How does the following code work on Android Question: In one of Philip Lackner’s tutorial, he is making the network call and UI changes like following: Here is the pointer to ...
In this post, we will see how to resolve Kotlin, Image Upload with retrofit take to long Question: i am trying to upload image from android app to laravel server. and i am using @waqas7 method from link below https://github.com/waqas7/UploadImageOnServer ...
In this post, we will see how to resolve How to handle timeouts in Retrofit inside the Fragment Question: I want to show an error message when timeout occurs, but can’t find how to do it without passing the loginProgressBar ...
In this post, we will see how to resolve Confusion about the use of Call<> and suspended functions in Android network requests with retrofit Question: After searching for answers to an error where my function fun getRestaurants(): Call couldn’t be ...
In this post, we will see how to resolve How should I get data from Android into non-Android components in a clean way? (clean architecture) Question: I just started playing around with Clean Architecture in Android. In my app, I’d ...
In this post, we will see how to resolve How to take retrofit response body out of the function instead of just passing it to another function? Question: How do I assign the response body to a variable outside of ...
In this post, we will see how to resolve Wait with second coroutine until the first one prepare needed data Question: I have a fragment, where in its onCreateView fun, I’ve made two coroutines. The first one, collect some data, ...
In this post, we will see how to resolve Retrofit + Gson. Gson not calling custom deserializer Question: Hello! Can you please tell me why Gson does not want to use a custom deserializer? I thought the problem was that ...
In this post, we will see how to resolve Unable to generate g.dart with retrofit flutter Question: I am migrating my flutter project to 3.3.0 and i am calling API with retrofit which was working fine, after upgrading all packages ...