Removed RX java

This commit is contained in:
h4h13 2019-12-27 01:23:11 +05:30
parent 62726de918
commit 09c056f5ca
4 changed files with 26 additions and 60 deletions

View file

@ -30,7 +30,6 @@ import okhttp3.Interceptor;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory;
import retrofit2.converter.gson.GsonConverterFactory;
@ -49,7 +48,6 @@ public class LastFMRestClient {
.baseUrl(BASE_URL)
.callFactory(client)
.addConverterFactory(GsonConverterFactory.create())
.addCallAdapterFactory(RxJava2CallAdapterFactory.create())
.build();
apiService = restAdapter.create(LastFMService.class);