ofInstance

open fun <T> ofInstance(instance: T): Bindable<T>

Create a new Bindable of the type of the specified instance with an existing value equal to the instance.

Return

a Bindable instance

Parameters

<T>

the source type

instance

the instance (must not be null)

See also