android - OutOfMemoryError on ViewPager -


I am using a ViewPager with 13 pages, it is managed using a FragmentStatePager adapter, and each Page loads 250kko images as background, and sometimes 5 images are per page.

I often get an out-of-return error error and I'm testing my app on the Samsung Galaxy Tab 2, so I think I'm doing something wrong.

Is there a way to release images that are not used on the life cycles of my pieces on scenepages? Any other ideas out there?

Thanks in advance.

Everything is very well explained and Expand on

Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

asp.net - MVC [HandleError] HandleErrorAttribute called twice when using global logging -

c# - NameSpace Manager or XsltContent to parse aspx page -