-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Migrate to using DataStore #11017
Copy link
Copy link
Open
Labels
code qualityImprovements to the codebase to improve the code qualityImprovements to the codebase to improve the code qualityfeature requestIssue is related to a feature in the appIssue is related to a feature in the apprewriteIssues and PRs related to rewriteIssues and PRs related to rewrite
Metadata
Metadata
Assignees
Labels
code qualityImprovements to the codebase to improve the code qualityImprovements to the codebase to improve the code qualityfeature requestIssue is related to a feature in the appIssue is related to a feature in the apprewriteIssues and PRs related to rewriteIssues and PRs related to rewrite
Type
Projects
Status
Todo
Checklist
Feature description
Migrate settings keys from traditional
SharedPreferencesto usingDataStoreonce settings redesign is completedhttps://developer.android.com/topic/libraries/architecture/datastore
Why do you want this feature?
DataStoreoffers a more modern, type-safe, and efficient approach to storing app data compared to traditionalSharedPreferences. Its advantages in data flexibility, asynchronous operations, error handling, and integration with other Jetpack libraries make it the preferred choice for managing app data in modern Android development.Additional information
Originated from discussion here: #10876 (comment)