Can someone confirm if calling unSubscribe on an Observable is the right way to cancel a request?
Annoyingly, Nexus 7 issues repeated network requests, and the first call needs to be dropped because the calling activity has been destroyed.
I got around this by checking that the callback (my own) is not null before trying to use it.
Unsubscribing, however, seems like the best solution, but cannot find any information if this is the right way.
I noticed that Retrofit will throw an internal error (InterruptedException), but this did not result in the error being handled back - a good thing!
source share