Very nice article.
Mimmo Grottoli
1

I talked about how Loaders interact with the lifecycle as part of the article:

Just by calling initLoader(), we’ve hooked into the Activity/Fragment lifecycle and onStopLoading() will be called when the corresponding onStop() is called. However, onReset() is only called when you specifically call destroyLoader() or automatically when the Activity/Fragment is completely destroyed.

If you’re watching for changes until onReset() as I recommended further up in the article, then your Loader will continue to load data until the Fragment/Activity is destroyed. However, the Loader will only deliver data to your LoaderCallbacks between onStartLoading() and onStopLoading().

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.