There are two Activities: ActivityA
and ActivityB.
From ActivityA
I going to ActivityB
. Then, I choose some list item and going back to Activity A
(same instance) with selected data. And the most difficult: if I press back now, I should going back to ActivityB
(with same instance and with saved View state).
Is it possible to implement? Not necessary via launchMode
attribute, perhaps there is another way to manage Activities manually via ActivityManager.
Use startActivityForResult to get the result from activity B which was started by activity A. Activity B returns result when it is finished.