title: Android Fragments - How can I keep the data?
body: <p>I'm using a ViewPager with multiple Fragments. (Tab navigation + swipe).
  In my first ListFragment I'm displaying a list of data with a custom adapter. </p>
  
  <p>The problem is, when swipping to Tab #3 and then back, my ArrayList has size 0.</p>
  
  <p>How can I keep all the data of a Fragment in memory? I don't want to read it again from the database, all I want is that when returning to this fragment everything should stay the same...</p>
  
  <p>Thanks for your help.</p>