Code example for AsyncTaskLoader

0
     * Create async loader 
     * 
     * @param context 
     */ 
    public AsyncLoader(Context context) {
        super(context);
    } 
 
    @Override 
    public void deliverResult(D data) {
        if (isReset())
            // An async query came in while the loader is stopped 
            return; 
 
        this.data = data;
 
        super.deliverResult(data);
    } 
 
    @Override 
Stop searching for code, let great code find you!  Add Codota to your java IDE