Search in sources :

Example 1 with FriendsTimeLineFragment

use of org.qii.weiciyuan.ui.maintimeline.FriendsTimeLineFragment in project weiciyuan by qii.

the class LeftMenuFragment method showHomePageImp.

private void showHomePageImp() {
    FragmentTransaction ft = getFragmentManager().beginTransaction();
    ft.hide(rightFragments.get(MENTIONS_INDEX));
    ft.hide(rightFragments.get(COMMENTS_INDEX));
    ft.hide(rightFragments.get(SEARCH_INDEX));
    ft.hide(rightFragments.get(DM_INDEX));
    ft.hide(rightFragments.get(FAV_INDEX));
    ft.hide(rightFragments.get(PROFILE_INDEX));
    FriendsTimeLineFragment fragment = (FriendsTimeLineFragment) rightFragments.get(HOME_INDEX);
    ft.show(fragment);
    ft.commit();
    setTitle("");
    fragment.buildActionBarNav();
}
Also used : FriendsTimeLineFragment(org.qii.weiciyuan.ui.maintimeline.FriendsTimeLineFragment) FragmentTransaction(android.support.v4.app.FragmentTransaction)

Aggregations

FragmentTransaction (android.support.v4.app.FragmentTransaction)1 FriendsTimeLineFragment (org.qii.weiciyuan.ui.maintimeline.FriendsTimeLineFragment)1