FonamentPreferencesFactory

Factory for creating FonamentPreferences instances.

Constructors

Link copied to clipboard
constructor(context: ERROR CLASS: Symbol not found for Context)
constructor()
constructor()

Functions

Link copied to clipboard
actual fun create(name: String): FonamentPreferences
expect fun create(name: String = DEFAULT_FONAMENT_PREFERENCES_NAME): FonamentPreferences

Create a FonamentPreferences instance given its name. The name shouldn't contain any path separator or extension, e.g. "my_app_preferences".

actual fun create(name: String): FonamentPreferences
actual fun create(name: String): FonamentPreferences