How to store/restore activity state when moving/navigating back
问题 How can I save activity state (B) when moving to previous activity (A) and how to restore it's previous state when moving back (to activity B)? SCENARIO Content of activity B can be changed by user. After finishing work, performed changes can be persisted (e. g. saved to local DB). Before persisting, user may want to navigate back to previous activity. At this point, "work session" should be somehow saved temporary in memory . After returning back to activity B "work session" should be