I have an application that reuses an Activity an unknown number of times. It runs
a> b1||c1 > b2|| c2 > ...
If I go a > b1 > b2 > b1, my app still shows the b1 list on the screen, but if I click on it, it takes me to the corresponding b2 activity. the arrayList that i use to hold the data for b needs to be restored for the correct instance of b.
Ive been reading over http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle but I dont think that onPause and onResume will work since Im using the same activity again.