FragmentStatePagerIssueExample
FragmentStatePagerIssueExample copied to clipboard
Solution without duplicating library source code
Hi I found your blog from Google, but I didn't really like the idea of maintaining a separate FragmentStatePagerAdapter
. A simpler solution is to use FragmentPagerAdapter
instead, and override the getItemId()
and getItemPosition()
methods.
See here for some source code