Code example for AsyncTaskLoader

Methods: deliverResult, isReset, isStarted

0
    } 
 
    public final void deliverResult(Object obj)
    { 
        DbSquareStream adbsquarestream[] = (DbSquareStream[])obj;
        if(!isReset())
        { 
            mData = adbsquarestream;
            if(isStarted())
                super.deliverResult(adbsquarestream);
        } 
    } 
 
    public final boolean isDataStale() 
    { 
        return mIsDataStale;
    } 
 
    public final Object loadInBackground() {
        Uri uri = EsProvider.appendAccountParameter(EsProvider.SQUARES_URI.buildUpon().appendPath(mSquareId), mAccount).build();