AsyncTaskLoader: onLoadFinished not called after orientation change
<p>I have a <code>AsyncTaskLoader</code> with a long running task, when, while the loader is running, my activity is being destroyed due to an orientation change, the <code>onLoadFinished</code> callback isn't called. </p>

<p>Can I somehow 'reattach' the loader to my new Activity / it's callback? </p>

<p>Here's my (simplified) <strong>Activity</strong>: </p>

<pre><code>public class DashboardActivity extends BaseActivity {

StartupCallback startupCallback;
    boolean loading = false; 

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.empty_viewpager);
    startupCallback = new StartupCallback();

    if (!loading){
         getSupportLoaderManager().initLoader(GlobalApp.giveId(), null,
                startupCallback);
                 loading = true; 
    }
}


private class StartupCallback implements
        LoaderManager.LoaderCallbacks&lt;Boolean&gt; {
    @Override
    public void onLoadFinished(Loader&lt;Boolean&gt; loader, Boolean succ) {

        Log.d("LOG", "onLoadFinished"); 
    }

    @Override
    public Loader&lt;Boolean&gt; onCreateLoader(int id, Bundle args) {

        return new StartupLoader(getApplicationContext());
    }

    @Override
    public void onLoaderReset(Loader&lt;Boolean&gt; loader) {

    }
}

}
</code></pre>

<p>I can not just start another loader with a new callback because the loader does database stuff and two loader working on the same database will crash the app. </p>
