Code example for AsyncTaskLoader

Methods: onReset

0
     * Handles a request to completely reset the Loader. 
     */ 
    @Override  
    protected void onReset()  
    { 
        super.onReset(); 
         
        // Ensure the loader is stopped 
        onStopLoading(); 
         
        // At this point we can release the resources associated with 'apps' 
        // if needed. 
        if (mAccounts != null) 
        { 
            onReleaseResources(mAccounts);
            mAccounts = null;
        } 
         
        // The loader is being reset so we should stop monitor for changes. 
        if( this.mObserver != null )
Connect your IDE to all the code out there  Get Codota for Java