@Override protected void onResume() { super.onResume(); if (!mSlidingMenu.isMenuShowing()) { mContent.onContentOpened(); } if (mContent != null && mContent instanceof MessageListFragment) { sThreadShowing = ((MessageListFragment) mContent).getThreadId(); QKReplyActivity.dismiss(sThreadShowing); } else { sThreadShowing = 0; } NotificationManager.initQuickCompose(this, false, false); }
@Override public void onClosed() { // When the menu (i.e. the conversation list) has been closed, the content has been opened. // So notify the content fragment. if (mContent != null && ((Fragment) mContent).isAdded()) mContent.onContentOpened(); }