Guys, how would you recommend handling errors on :...
# rx
v
Guys, how would you recommend handling errors on 🤖 when my scenario is: • subscribe to text changes from search field (with
RxTextView.textChanges(customer_phone_number)
) • debounce queries (every 1second) • show progressBar • execute retrofit call:
apiServices.getMemberDetails(it)
• show membership details on success with
showMemberDetails(it.membership)
• keep waiting for query updates if nothing was found and HttpException: HTTP 400 happened. When HTTP failure happens, my subscription to query updates is lost. What’s correct approach for such scenario?
Here’s a gist of K code I’m using: https://gist.github.com/anonymous/7babfd32c88eb1eed6b80d8490d23440