i implement side navigation in my code and i used this librairy

https://github.com/korovyansk/android-fb-like-slideout-navigation

the list side extends FragmentActivity and the Main side extends
FragmentActivity (see picture). [image: enter image description here]

when i click in item of the list i want the main fragment replaced by
another fragment

so it there a way to do transaction fragment in the Main FragmentActivity
from the list FragmentActivity what i can add to this code to make the
transaction in Main not in List

FragmentTransaction ft
=getActivity().getSupportFragmentManager().beginTransaction();
ft.replace(R.id.fragment, newFragment);
ft.addToBackStack(null);
ft.commit();

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to