nbarishok / RxMvpAndroid

Sample to show how MVP, Clean Architecture and RxJava can help you in building Android App.
98 stars 20 forks source link

Error At RxTransformers Class #2

Open pnlgcoding opened 7 years ago

pnlgcoding commented 7 years ago

Hi there,

I have problem with RxTransformers class at:

public static <T> Observable<T> applyIoSchedulers() { return tObservable -> tObservable.subscribeOn(Schedulers.io()) .observeOn(Schedulers.io()); }

cannot resolves this method "subscribeOn".

I'm using:

compile 'com.jakewharton.rxbinding2:rxbinding:2.0.0' compile 'io.reactivex.rxjava2:rxandroid:2.0.1' compile 'io.reactivex.rxjava2:rxjava:2.1.0'