-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow PreferenceScreens to have a key
Being able to tag PreferenceScreens with a key is useful for organizational reasons, even if they don't persist any data to the SharedPreferences. For backwards compatibility and flexibility, the default key for PreferenceScreens is still an empty string. The root screen, however, now gets a special reserved key, which may not be used for sub-screens (but could theoretically still be used for Preferences, this is highly discouraged though). With that root key, it will be possible to do better screen traversal in the future.
- Loading branch information
Showing
3 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters