Code example for AsyncTaskLoader

Methods: deliverResult

0
        mData = data;
 
        if (isStarted()) {
            // If the Loader is currently started, we can immediately 
            // deliver its results. 
            super.deliverResult(data);
        } 
 
        if (oldData != null) {
            onReleaseResources(oldData);
        } 
    } 
 
    @Override 
    protected void onStartLoading() { 
        if (mData != null) {
            deliverResult(mData);
        } else { 
            forceLoad();
        } 
Contextual code suggestions in your IDE  Get Codota for Java