The application has Tabs, Tab A, and Tab B buffers that expand the fragment. Now my question is: when I click on the list item of tab B, the new fragment C should be called on the tab. With the following code I can call Fragment C, but not inside the tab.
Intent intent = new Intent();
intent.setClass(getActivity(), C.class);
startActivity(intent);
When I use actions, I can solve the problem using ActivityGroup. Is there a similar way in fragments.
source
share