@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); Log.e(TAG, "onSaveInstanceState"); User bundleItem = null; try { bundleItem = (User) mUserInfo.clone(); } catch (CloneNotSupportedException e) { e.printStackTrace(); return; } outState.putSerializable(User.TAG, bundleItem); outState.putInt("photoStatus", mPhotoStatus.ordinal()); }
@Override public void onDestroy() { super.onDestroy(); if (bmp != null) { bmp.recycle(); bmp = null; } if (mBlurBmp != null) { mBlurBmp.recycle(); mBlurBmp = null; } if (mRbmp != null) { mRbmp.recycle(); mRbmp = null; } }
@Override public void onPause() { hideIme(mLayout.getUserIDView()); super.onPause(); }
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); }