Skip to content

Instantly share code, notes, and snippets.

@karim-eg
Last active September 7, 2023 16:55
Show Gist options
  • Save karim-eg/226440eda221220dc82abdfb0606013f to your computer and use it in GitHub Desktop.
Save karim-eg/226440eda221220dc82abdfb0606013f to your computer and use it in GitHub Desktop.
Data Store Init
val Context.user: DataStore<Preferences> by preferencesDataStore(name = "userInfo")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment