Viewpager: If page get removed the next pages content gets the removed pages content?

Ok i've now solved my problem in a hackish way, but yeah it's working ;). If someone can improve my solution please let me know. For my new solution I now use a CustomFragmentStatePagerAdapter but it doesn't save the state like it should and stores all the Fragments in a list.

This can cause a memory problem if the user has more than 50 fragments, like the normal FragmentPagerAdapter does. It would be great if someone can add the State-thing back to my solution without removing my fixes. Thanks.

In your answer (by mikepenz), you don't need to set the adapter again. You may call the notifyDataSetChanged.

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