Binder

actual open class Binder

Actual implementation of Binder on Android platform.

expect open class Binder

Object associated with StateHolder. Actual implementations contain properties that are utilities for a particular platform to ease state observation.

actual open class Binder

Actual implementation of Binder

Property objectWillChange should be set to ObservableObject's objectWillChange property on iOS side, available in context of ObservableObject protocol.

actual open class Binder

Constructors

Link copied to clipboard
fun Binder()
expect fun Binder()
fun Binder()
fun Binder()

Properties

Link copied to clipboard
open var objectWillChange: () -> Unit

On write operation the value is invoked to deliver updates of all stored Stateful properties withing a context of StateHolder the Binder is associated with

Link copied to clipboard
open var onChanged: () -> Unit