Fragment layout not showing after ViewPager kills it?

I think I've solved this. What I did was overrided the destroyItem() method in my FragmentPagerAdapter and left it blank. I should have read the developer's page for FragmentPagerAdapter more closely to see its expected behavior, particularly that everything is loaded into memory and it kills the Views of a Fragment to save memory when it isn't visible anymore.

Not sure if this is the right approach, but it works fine for now.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions