Exemplo n.º 1
0
 void dispatchOnCancelled(LoadTask loadTask, D d) {
   onCanceled(d);
   if (this.mCancellingTask == loadTask) {
     rollbackContentChanged();
     this.mLastLoadCompleteTime = SystemClock.uptimeMillis();
     this.mCancellingTask = null;
     executePendingTask();
   }
 }
Exemplo n.º 2
0
 protected void onForceLoad() {
   super.onForceLoad();
   cancelLoad();
   this.mTask = new LoadTask();
   executePendingTask();
 }