Beispiel #1
0
 @Override
 public void onResume() {
   super.onResume();
   adView.resume();
   uiHelper.onResume();
   imageFetcher.setExitTasksEarly(false);
 }
Beispiel #2
0
  @Override
  public void onPause() {
    super.onPause();
    adView.pause();
    uiHelper.onPause();

    imageFetcher.setPauseWork(false);
    imageFetcher.setExitTasksEarly(true);
    imageFetcher.flushCache();
  }