Code example for AsyncTaskLoader

Methods: onReset

0
        cancelLoad();
    } 
 
    @Override 
    protected void onReset() { 
        super.onReset(); 
 
        // Ensure the loader is stopped 
        onStopLoading(); 
 
        data = null;
    } 
}