Code example for AsyncTask

Methods: executeOnExecutor

0
    webView.onResume();
  } 
 
  @Override 
  public <P> void executeAsyncTaskParallel(final AsyncTask<P, ?, ?> task, final P... params) {
    task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, params);
  } 
 
  @Override 
  public NotificationBuilder createNotificationBuilder(final Context context) {
    return new IcsNotificationBuilder(context);
  } 
 
}