RxJavaCallAdapterFactory not found in retrofit 2.1.0, how can I create one?

I am using these for retrofit and rxjava in my Android Project.

compile 'com.squareup.retrofit2:retrofit:2.1.0' compile 'io.reactivex:rxjava:1.1.8' compile 'io.reactivex:rxandroid:1.2.1' 

When I do

Retrofit retrofit = new Retrofit.Builder()         .baseUrl("https://github.com/")         .addCallAdapterFactory(RxJavaCallAdapterFactory.create())         .build(); 

It appears the RxJavaCallAdapterFactory it not available anymore in retrofit 2.1.0, although it was available in the previous versions. What can I do if it's missing? How to create a custom one for using the rxjava with retrofit.


Category: android Time: 2016-07-29 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.113 (s). 12 q(s)