本文整理了Java中android.app.Activity.onStop()
方法的一些代码示例,展示了Activity.onStop()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Activity.onStop()
方法的具体详情如下:
包路径:android.app.Activity
类名称:Activity
方法名:onStop
暂无
代码示例来源:origin: commonsguy/cw-omnibus
@Override
protected void onStop() {
mgr.unregisterListener(this);
super.onStop();
}
代码示例来源:origin: commonsguy/cw-omnibus
@Override
protected void onStop() {
mgr.unregisterListener(this);
super.onStop();
}
代码示例来源:origin: commonsguy/cw-omnibus
@Override
protected void onStop() {
mgr.unregisterListener(this);
super.onStop();
}
代码示例来源:origin: commonsguy/cw-omnibus
@Override
public void onStop() {
Log.d(getClass().getSimpleName(), "onStop()");
super.onStop();
}
代码示例来源:origin: commonsguy/cw-omnibus
@Override
protected void onStop() {
EventBus.getDefault().unregister(this);
super.onStop();
}
代码示例来源:origin: commonsguy/cw-omnibus
@Override
public void onStop() {
fadee.removeCallbacks(this);
super.onStop();
}
代码示例来源:origin: commonsguy/cw-omnibus
@Override
public void onStop() {
cm.removePrimaryClipChangedListener(this);
super.onStop();
}
代码示例来源:origin: commonsguy/cw-omnibus
@Override
public void onStop() {
recorder.release();
recorder=null;
super.onStop();
}
代码示例来源:origin: commonsguy/cw-omnibus
@Override
protected void onStop() {
if (playServices!=null) {
playServices.disconnect();
}
super.onStop();
}
代码示例来源:origin: commonsguy/cw-omnibus
@Override
protected void onStop() {
if (playServices!=null) {
playServices.disconnect();
}
super.onStop();
}
代码示例来源:origin: commonsguy/cw-omnibus
@Override
protected void onStop() {
fotoapparat.stop();
super.onStop();
}
代码示例来源:origin: commonsguy/cw-omnibus
@Override
protected void onStop() {
EventBus.getDefault().unregister(this);
super.onStop();
}
代码示例来源:origin: bumptech/glide
@Override
protected void onStop() {
super.onStop();
Api.get().removeMonitor(this);
}
代码示例来源:origin: google/ExoPlayer
@Override
public void onStop() {
super.onStop();
if (Util.SDK_INT > 23) {
maybeStopHostedTest();
}
wakeLock.release();
wakeLock = null;
wifiLock.release();
wifiLock = null;
}
代码示例来源:origin: robolectric/robolectric
@Override
public void onStop() {
transcript.add("onStop");
super.onStop();
}
代码示例来源:origin: trello/RxLifecycle
@Override
@CallSuper
protected void onStop() {
lifecycleSubject.onNext(ActivityEvent.STOP);
super.onStop();
}
代码示例来源:origin: commonsguy/cw-omnibus
@Override
public void onStop() {
super.onStop();
LocalBroadcastManager.getInstance(this).unregisterReceiver(onNotice);
}
代码示例来源:origin: robolectric/robolectric
@Override
protected void onStop() {
super.onStop();
transcribeWhilePaused("onStop");
transcript.add("finishedOnStop");
}
代码示例来源:origin: commonsguy/cw-omnibus
@Override
protected void onStop() {
video.pause();
updateActions();
lastPosition=video.getCurrentPosition();
EventBus.getDefault().unregister(this);
super.onStop();
}
代码示例来源:origin: google/ExoPlayer
@Override
public void onStop() {
super.onStop();
if (Util.SDK_INT > 23) {
maybeStopHostedTest();
}
wakeLock.release();
wakeLock = null;
wifiLock.release();
wifiLock = null;
}
内容来源于网络,如有侵权,请联系作者删除!