Created
September 5, 2022 05:52
-
-
Save meet30997/490da283c3abf6b089335836098a8833 to your computer and use it in GitHub Desktop.
Create DataStore Instance
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
private val Context.dataStore: DataStore<Preferences> by preferencesDataStore(name = "MyDataStore") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment