So my app launch when it starts a FragmentActivity TestFActivity. That FragmentActivity contains a viewpager, which include 3 Fragments WelcomeFragment, ListFragment, and TagFragment.
Now, I want that when I click on an item from ListFragments, it opens a new FragmentActivity DetailsView, that will contains a viewpager (which include all of the items from the ListFragment and allow to swipe between them).
I have no clue on how to do that, and if this is the good logic to have with fragments.
Starting an Activity from within a
Fragmentis no different from starting one from anotherActivity, simply construct anIntentwith the new Activity classname and callstartActivity(). Something like:HTH