amitshekhariitbhu / RxJava2-Android-Samples

RxJava 2 Android Examples - How to use RxJava 2 in Android
https://outcomeschool.com
Apache License 2.0
4.96k stars 1.06k forks source link

In ReplayExampleActivity,the repaly error? #21

Open fhlkm opened 7 years ago

fhlkm commented 7 years ago

The log is : First onSubscribe : false First onNext value : 1 First onNext value : 2 First onNext value : 3 First onNext value : 4 First onComplete Second onSubscribe : false Second onNext value : 1 Second onNext value : 2 Second onNext value : 3 Second onNext value : 4 Second onComplete

It is different from the comment "it will emit 2, 3, 4 as (count = 3), retains the 3 values for replay"

essmigel commented 4 years ago

@fhlkm My log is the same as the comment. and also the view in ReplayExampleActivity is showing when you click doSomeWork.