I am getting the above error while calling the rest api. I am using both retrofit2 and RxJava.
public class ServiceFactory {
pu
From the said Github project page:
Blockquote This is now DEPRECATED! Retrofit 2.2 and newer have a first-party call adapter for RxJava 2: https://github.com/square/retrofit/tree/master/retrofit-adapters/rxjava2
now you just need to include in your app/build.gradle file:
compile 'com.squareup.retrofit2:adapter-rxjava2:latest.version'