Пример #1
0
 @Override
 protected void onPostExecute(Boolean result) {
   super.onPostExecute(result);
   taskLoadFace.showProgress(false);
   if (result) taskLoadFace.onDataLoaded(tasksCursor);
   else taskLoadFace.onError();
 }
Пример #2
0
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   taskLoadFace.showProgress(true);
 }
Пример #3
0
 public LoadTasks(DataLoadInterface taskLoadFace) {
   this.taskLoadFace = taskLoadFace;
   resolver = taskLoadFace.getMeContext().getContentResolver();
 }