Which views are automatically saved when configuration changes

When you change the configuration, for example, "Change the orientation of the screen", Android will automatically save some viewing information. For example, any text entered in EditText will be saved and re-entered after the application is restarted. However, TextView text is not saved.

Does anyone have a list of species that have data? And what are the meanings of each species?

+4
source share
1 answer

The structure saves the state of views, the state of which can be changed directly by the user: ListView (for example, for selection), EditText, etc.

+5
source

All Articles