use of org.qii.weiciyuan.ui.dm.DMUserListFragment in project weiciyuan by qii.
the class LeftMenuFragment method showDMPageImp.
private void showDMPageImp() {
FragmentTransaction ft = getFragmentManager().beginTransaction();
ft.hide(rightFragments.get(HOME_INDEX));
ft.hide(rightFragments.get(MENTIONS_INDEX));
ft.hide(rightFragments.get(COMMENTS_INDEX));
ft.hide(rightFragments.get(SEARCH_INDEX));
ft.hide(rightFragments.get(FAV_INDEX));
ft.hide(rightFragments.get(PROFILE_INDEX));
Fragment fragment = rightFragments.get(DM_INDEX);
ft.show(fragment);
ft.commit();
((DMUserListFragment) fragment).buildActionBarAndViewPagerTitles();
}
Aggregations