Closed max-krueper closed 6 years ago
For using with RxJava 2 you must add in dependencies 'ru.ztrap:RxSlideUp2:2.0.0'
instead of 'ru.ztrap:RxSlideUp:1.0.0'
. At this time, I guess, you is using RxSlideUp for RxJava 1.
As addition you can check this branches: RxSlideUp RxSlideUp2
And this is what I did, so I am confused, I checked dependecies:
+--- ru.ztrap:RxSlideUp2:2.0.0 | +--- com.github.mancj:SlideUp-Android:2.2.5 -> 2.2.8 () | +--- io.reactivex.rxjava2:rxandroid:2.0.1 | | --- io.reactivex.rxjava2:rxjava:2.0.1 -> 2.1.9 | | --- org.reactivestreams:reactive-streams:1.0.2 | --- io.reactivex.rxjava2:rxjava:2.1.0 -> 2.1.9 ()
Did you does standard operations for fix some strange troubles?
File → Invalidate cache / restart
Build → Clean Project
Build → Rebuild Project
I did this again and it's still the same problem.
I created a new blank project with just one dependency and it's the same.
compile 'ru.ztrap:RxSlideUp2:2.0.0'
I'll check it out in more detail soon
after downloading RxSlideUp2-2.0.0.aar and decompiling the RxSlideUp.class I see:
package ru.ztrap.rxslideup;
import com.mancj.slideup.SlideUp; import rx.Observable; ...
solved in 2.0.1
I included the library according to the example and I get the following error:
Error:(332, 20) Cannot access class 'rx.Observable'. Check your module classpath for missing or conflicting dependencies
I have rxkotlin:2.2.0 rxjava:2.1.9 rxandroid:2.0.1 SlideUp-Android:2.2.8 RxSlideUp2:2.0.0
What's wrong?