CustomProvider

class CustomProvider<T>(getter: () -> T, setter: (T) -> Unit) : ValueProvider<T>

A custom value provider using getter and setter for get and set.

Constructors

Link copied to clipboard
constructor(getter: () -> T, setter: (T) -> Unit)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun get(): T
Link copied to clipboard
open override fun set(value: T)