hello guys i just want to know what is the best ap...
# rx
a
hello guys i just want to know what is the best approach to use rxjava in search when searching some remote server (to prevent fast typing and getting false results )
p
Use debounce + switchMap
👍 3
u
Copy code
textObservable.switchMap { Observable.timer(..).flatMap { api.search }}
👍 1