I have a subActivity that can be open from my mainActivity.
For some reasons, when the user clicks on the back button go back to my mainActivity, I want my subActivity to remain open in background in order to be able to come back for later.
Questions:
- how to avoid to close the subActivity when the user clicks back ?
- how to come back to the mainActivity without restarting it ?
- how to come back later to my opened activity without re-creating it completely ? (just want to bring it to front)
Thanks !