How to pass from one fragment to another
问题 In my app I have navigation drawer with some fragments. When I choose in the drawer I do this code: FragmentTransaction ft = fm.beginTransaction(); ft.replace(R.id.container, f, tag); ft.commit(); in the MainActivity. Now in one fragment I want to put a TabLayout in the bottom of the screen and I have this troubles: is it possible to replace from one fragment to another? Where could I put fragmentTransaction ? if I want to call a third fragment (for example a Send button in one of this tab