Save UI states  |  App architecture  |  Android Developers

Learn how to preserve your UI state across configuration changes