Code example for AsyncTaskLoader

Methods: onCanceled

0
     * Handles a request to cancel a load. 
     */ 
    @Override  
    public void onCanceled(List<Schedule> schedules) 
    { 
        super.onCanceled(schedules);
 
        // At this point we can release the resources associated with 'apps' 
        // if needed. 
        onReleaseResources(schedules);
    } 
 
    /** 
     * Handles a request to completely reset the Loader. 
     */ 
    @Override  
    protected void onReset()  
    { 
        super.onReset(); 
         
Experience pair programming with AI  Get Codota for Java