You can use Fragment
s, but what you really want to do is cache the information. Otherwise you'll reload on device rotation anyways (unless you use Fragment
s and setRetainInstance
to true, but this can cause other headaches).
I would use a CursorLoader
on Activity B's onCreate
. onLoadFinished
you cache the result and setup your UI. On subsequent loads the results are cached and you forego the loader. What's more, using the CursorLoader
will alert you if the underlying database results change.