Saving some data on orientation change in Android
问题 As far as I've understood, your Android activity will be recreated for the new orientation on any orientation changes. Is there a way to store / save some of the data from the original orientation upon the orientation change? I'd like to store some Bitmaps, so I don't have to load it again on the orientation change. 回答1: Using static variables/classes is a bad approach in terms of maintainability and debugging. I have been using Activity.onRetainNonConfigurationInstance but I found out just