FonamentPreferencesDataStoreSingleton

A class that creates a DataStore instance for a given file name as a singleton.

A class that creates a DataStore instance for a given file name as a singleton.

A class that creates a DataStore instance for a given file name as a singleton.

A class that creates a DataStore instance for a given file name as a singleton.

Constructors

Link copied to clipboard
constructor(context: Context)
constructor()
constructor()

Types

Link copied to clipboard
object Companion
object Companion
object Companion

Functions

Link copied to clipboard
actual operator fun get(name: String): DataStore<Preferences>

Create a DataStore instance for the given name or return the existing one.

expect operator fun get(name: String): DataStore<Preferences>

Create a DataStore instance for the given name or return the existing one.

actual operator fun get(name: String): DataStore<Preferences>

Create a DataStore instance for the given name or return the existing one.

actual operator fun get(name: String): DataStore<Preferences>

Create a DataStore instance for the given name or return the existing one.