Android Fragments Retaining Data
问题 How does one best retain data within a Fragment as its activity goes through an onCreate/Destroy cycle like from Rotation? In our setup we have potentially large lists loaded from our servers into the fragments custom list adapter and we want to smooth out the UX by not making them reload on rotation. The problem we had with setting the fragment retainInstance=true; is that our adapter has a reference to the context of the original activity and would therefore leak memory. Could we just store