I've been searching for it and all I found was the difference between them. And that's not the point.
If you use FragmentStatePagerAdapter
in a ViewPager
, you'll end up doing the same as you'd do with FragmentPagerAdapter
, but consuming much less memory. If that's true, why should I use the FragmentPagerAdapter
?
What is the advantages of using FragmentPagerAdapter
?