Code example for ExecutorService

Methods: shutdown

0
  } 
 
  @Override 
  public void onDestroy() { 
    super.onDestroy(); 
    executor.shutdown();
    shutdown(); 
  } 
 
  @Override 
  public IBinder onBind(Intent intent) {
    return binder;
  } 
 
  public void shutdown() { 
    shutdownChallengeListener(); 
    markAsVerifying(false); 
    registrationState = new RegistrationState(RegistrationState.STATE_IDLE);
  } 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE