SyntaxFix
Write A Post
Hire A Developer
Questions
I have used the following:
int index = vpPager.getCurrentItem(); MyPagerAdapter adapter = ((MyPagerAdapter)vpPager.getAdapter()); MyFragment suraVersesFragment = (MyFragment)adapter.getRegisteredFragment(index);