Skip to content

Commit

Permalink
Load initial mOpened state manually
Browse files Browse the repository at this point in the history
  • Loading branch information
moezbhatti committed Feb 28, 2016
1 parent fbe9f6c commit 4a2e536
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa
View view = inflater.inflate(R.layout.fragment_conversation, container, false);
mRecyclerView = (MessageListRecyclerView) view.findViewById(R.id.conversation);

mOpened = !((MainActivity) mContext).getSlidingMenu().isMenuShowing();

mAdapter = new MessageListAdapter(mContext);
mAdapter.setItemClickListener(this);
mAdapter.setMultiSelectListener(this);
Expand Down

0 comments on commit 4a2e536

Please sign in to comment.