android.support.v7.app.ActionBarActivity.onDestroy()方法的使用及代码示例

x33g5p2x  于11个月前 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(41)

本文整理了Java中android.support.v7.app.ActionBarActivity.onDestroy()方法的一些代码示例,展示了ActionBarActivity.onDestroy()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ActionBarActivity.onDestroy()方法的具体详情如下:
包路径:android.support.v7.app.ActionBarActivity
类名称:ActionBarActivity
方法名:onDestroy

ActionBarActivity.onDestroy介绍

暂无

代码示例

代码示例来源:origin: Jungerr/GridPasswordView

@Override
  protected void onDestroy() {
    super.onDestroy();
    ButterKnife.reset(this);
  }
}

代码示例来源:origin: realtime-framework/MessagingAndroidChat

@Override
protected void onDestroy() {
  super.onDestroy();
}

代码示例来源:origin: sismics/reader

@Override
  protected void onDestroy() {
    super.onDestroy();
    SubscriptionResource.cancel(this);
  }
}

代码示例来源:origin: eliotstocker/Light-Controller

@Override
protected void onDestroy() {
  super.onDestroy();
  Controller.killUDPC();
}

代码示例来源:origin: geeksonsecurity/android-overlay-protection

@Override
protected void onDestroy() {
  super.onDestroy();
  mWizardModel.unregisterListener(this);
}

代码示例来源:origin: yuvaraj119/Picasso-RecyclerView-StaggeredGridLayoutManager

/** Called before the activity is destroyed */
  @Override
  public void onDestroy() {
    if (mAdView != null) {
      mAdView.destroy();
    }
    super.onDestroy();
  }
}

代码示例来源:origin: SimonMarquis/Android-PreferencesManager

@Override
  protected void onDestroy() {
    if (findFilesAndBackupsTask != null) {
      findFilesAndBackupsTask.cancel(true);
    }
    super.onDestroy();
  }
}

代码示例来源:origin: geeksonsecurity/android-overlay-protection

@Override
protected void onDestroy() {
  super.onDestroy();
  unregisterReceiver(_packageUpdateReceiver);
}

代码示例来源:origin: flyingrub/SpeedMeter

@Override
public void onDestroy(){
  super.onDestroy();
  stopService(new Intent(getBaseContext(), GpsServices.class));
}

代码示例来源:origin: eliotstocker/Light-Controller

@Override
  protected void onDestroy() {
    super.onDestroy();

    Intent intent = new Intent(this,controlWidgetProvider.class);
    intent.setAction("android.appwidget.action.APPWIDGET_UPDATE");
    int[] ids = {R.xml.control_appwidget_info};
    intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS,ids);
    sendBroadcast(intent);

    startActivity(NavUtils.getParentActivityIntent(this));
  }
}

代码示例来源:origin: kot32go/KSimpleLibrary

@Override
protected void onDestroy() {
  super.onDestroy();
  SimpleTaskManager.removeTasksWithTag(getTaskTag());
}

代码示例来源:origin: luv/mockgeofix

@Override
protected void onDestroy() {
  if (mService != null && mConn != null) {
    unbindService(mConn);
  }
  unregisterReceiver(receiver);
  super.onDestroy();
}

代码示例来源:origin: sismics/reader

@Override
protected void onDestroy() {
  SharedArticlesAdapterHelper.getInstance().removeAdapter(null, articlesHelperListener);
  destroyed = true;
  super.onDestroy();
}

代码示例来源:origin: michal-luszczuk/tomorrow-mvp

@Override
  protected void onDestroy() {
    super.onDestroy();
    if (isFinishing()) {
      presenter.onDestroy();
    }
  }
}

代码示例来源:origin: operando/Garum

@Override
protected void onDestroy() {
  super.onDestroy();
  UseStatus s = new UseStatus();
  s.setLastUsed(new Date());
  s.setCalendar(Calendar.getInstance());
  s.save();
}

代码示例来源:origin: techery/presenta

@Override
protected void onDestroy() {
 actionBarOwner.dropView(this);
 actionBarOwner.setConfig(null);
 // activityScope may be null in case isWrongInstance() returned true in onCreate()
 if (isFinishing() && activityScope != null) {
  activityScope.destroy();
  activityScope = null;
 }
 super.onDestroy();
}

相关文章