How to test code built to save/restore Lifecycle of an Activity?

If you have enabled Developer Options on your device, there is an option Do not keep activities that will help test onRestoreInstanceState().

Android Settings panel

Leave a Comment