我IcePick
用来保存我的实例状态。
如何将实例状态保存在onPause()
,而不是onSaveInstanceState()
?
@Override
public void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
Icepick.saveInstanceState(this, outState);
}
@Override
public void onPause() {
super.onPause();
}
谢谢你。