Code example for AsyncTaskLoader

Methods: onReset

0
            cancelLoad();
        } 
 
        @Override 
        protected void onReset() { 
            super.onReset(); 
            // Ensure the loader is stopped 
            onStopLoading(); 
            data = null;
        } 
    } 
} 
Experience pair programming with AI  Get Codota for Java