Is it possible to access the current Fragment being viewed by a ViewPager?

I finally found an answer that worked for me. Basically, you can access the fragment for a viewPager page by using the tag “android:switcher:”+R.id.viewpager+”:0″.

Leave a Comment