When we have retryWhen() operator the subscription is lost, because retryWhen() will recreate the subscription and the CompositeSubscription does not have any reference to it. Is there any way to unsubscribe this? I mean, when the app is destroyed I call the clear(), however, because the retry is called the composite cannot unsubscribe the new subscription.
You are right, although making a reactive solution on top of CursorLoader is a “crappy” solution, simply because in my opinion Loaders are a failed abstraction in android. That is why square created the library sqlbrite to fetch information as it changes.