I have an Activity
implement LoaderCallbacks
and start an AsyncTaskLoader
from that Activity
.
When (due to a screen orientation change) the Activity
is being destroyed while the AsycTaskLoader
is still loading, the Activity
seems to 'lose the connection' to the Loader
and onLoadFinished
isn't called.
How can I reattach my Activity
to the Loader
so the callback methods are called?
I know I can get 'a hold' of the loader with
getSupportLoaderManager().getLoader(loaderID)
but I don't know any further.