Code example for AsyncTaskLoader

Methods: onStopLoading

0
    } 
     
    @Override 
    protected void onStopLoading() { 
        DebugLog.v(TAG, "onStopLoading");
        super.onStopLoading(); 
        cancelLoad();
    } 
     
    @Override 
    public void deliverResult(DemoItemLoaderResult result) {
        DebugLog.v(TAG, "deliverResult");
        if (isStarted()) {
            super.deliverResult(result);
        } 
    } 
     
    @Override 
    public void onCanceled(DemoItemLoaderResult result) {
        DebugLog.v(TAG, "onCanceled");
        super.onCanceled(result);