Recently I've updated my ViewModel to use new viewModelScope. From its implementation, I see that Dispatchers.Main.immediate is set as the default CoroutineDisp
I have a webservice api which is having some raw data. No json structure data. And all i want to parse it. This is the response i am getting from an api. And h
I have created below module in my android application. val appNetworkModule = module { // Dependency: OkHttpClient single { var okHttpClient=OkHttpClient.Bu
I am very new to RxJava, I am trying to make Retrofit calls using RxJava. When I write this code on SubscribeOn it says 'Cannot resolve method SubscribeOn(io.re
I have a recycler view for image display with a simple adapter. public class ImageListAdapter extends RecyclerView.Adapter<ImageListAdapter.SingleItemRowHold
I have added a new jar file as a module and faced with the above issue. I have already implemented okHttp in my apps gradle file. Seems like the jar file also i
I'm migrating my Android project from Apache HttpClient to Retrofit with OkHttp. POST/PUT request return error, even though the application custom headers are t
I am watching a tutorial on how to add headers with OkHttp Interceptors, but I am confused about a few things. What is a Chain object? What does Request origina
I'm working for a customer who has a server with self-signed SSL cert. I'm using Retrofit + CustomClient using wrapped OkHttp client: RestAdapter restAdapter