If app is put to background and then GC'ed because of low RAM I would like the app to restart from the first activity and not the activity it was in before it was put to background.
I know I could NULL checks for certain objects and if they are I would just start the first activity with clear top added.
I am looking for a more elegant way