SyntaxFix
Write A Post
Hire A Developer
Questions
Fragment yourFragment = yourviewpageradapter.getItem(int index);
index is the place of fragment in adapter like you added fragment1 first so retreive fragment1 pass index as 0 and so on for rest
index
fragment1