1

OutOfMemory error when sliding through multiple images in ViewPager

view story
linux-howto

http://stackoverflow.com – I am using a ViewPager object within an Activity. This viewpager works as a gallery that shows multiple types of fragment (TextFragment which shows only a text, ImageFragment, VideoFragment, etc.). I am using a FragmentStatePagerAdapter which from what I've gathered (and saw by myself) frees the previous elements of the viewpager as you navigate through them. If I just slide normally through the gallery it works fine, watching the LogCat shows memory being allocated and deallocated properly (at least, it seems proper to me). But if I slide too fast through the gallery, it seems as though t (HowTos)