Jetpack
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
Jetpack
:core:preferences
/
dev.atick.core.preferences.di
/
DatastoreModule
Datastore
Module
@
Module
object
DatastoreModule
Datastore module
Members
Functions
provide
Preferences
Data
Store
Link copied to clipboard
@
Singleton
@
Provides
fun
providePreferencesDataStore
(
appContext
:
Context
,
ioDispatcher
:
CoroutineDispatcher
)
:
DataStore
<
UserDataPreferences
>
Provides the
DataStore
for
UserDataPreferences
.