DefaultAndroidDittoDependencies

data class DefaultAndroidDittoDependencies(context: Context) : AndroidDittoDependencies

Provides a default set of dependencies that you can pass to the live.ditto.Ditto initializer that will work on Android.

Constructors

DefaultAndroidDittoDependencies
Link copied to clipboard
fun DefaultAndroidDittoDependencies(context: Context)

Functions

context
Link copied to clipboard
open override fun context(): Context
ensureDirectoryExists
Link copied to clipboard
open override fun ensureDirectoryExists(path: String)
persistenceDirectory
Link copied to clipboard
open override fun persistenceDirectory(): String