Why is rxJava not showing any effect of BackPressure startegy?
Clash Royale CLAN TAG #URR8PPP Why is rxJava not showing any effect of BackPressure startegy? Hi I am quite naive with rxJava, so please let me know if my understanding is correct. As per my understanding if I use backpressure strategy with LATEST flag, I should be getting the most recent value. So I have a list, I am using flowable with subscriber, but it is still printing all values in onNext . Also please let me know how to test this backpressure strategy as I do not have real time data. Following is my code Observable.just(listObj).subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()). flatMap(new Function<List<String>, Observable<String>>() { @Override public Observable<String> apply(List<String> ints) { return Observable.fromIterable(ints); } }).toFlowable(BackpressureStrategy.LATEST).subscribe(new Su...