Wednesday, 9 December 2020

How can I know which observable has changed in combineLatest in RxAndroid?

I am using Flowable.combineLatest(query,params) for listening query change and some param change but now I want to introduce pagination and listen to offset changes , but the problem here is when query is changing I need to reset offset. Wondering how can I achieve it with RxAndroid? Basically we observe 3 or more objects (query, offset, connectionChange) what I want to achieve is listen changes of any of the observables + when query is changed update the value for offset



from How can I know which observable has changed in combineLatest in RxAndroid?

No comments:

Post a Comment