I have 3 screens A-landing page, B-listview Page, C-Detail page(Listview)
When i land on A and navigate to B it loads data and artifacts from memory in Async task which adds a bit of delay(this is acceptable since its my 1st load). When i click on specific member in the listview, go to C view and click back button, view B is preserved.
However if i click on back to go to view A and try to navigate to listview B it reloads again by calling oncreate.
I have tried couple of approaches including android:launchMode="singleTask"
, not setting FLAG_ACTIVITY_CLEAR_TOP | FLAG_ACTIVITY_NEW_TASK
but could not get the desired result.
How can i prevent B from reloading when navigating from A in subsequent navigation.