rememberDataStore
Android implementation of rememberDataStore.
Creates and remembers a DataStore instance using the Android app's files directory.
Return
A remembered DataStore
Parameters
dataStoreName
The name of the DataStore file
Platform-specific composable that remembers and returns a DataStore instance.
Each platform (Android, iOS) implements this to create a DataStore at the appropriate location for that platform.
Return
A remembered DataStore
Parameters
dataStoreName
The name of the DataStore file
iOS implementation of rememberDataStore.
Creates and remembers a DataStore instance using the iOS app's document directory.
Return
A remembered DataStore
Parameters
dataStoreName
The name of the DataStore file