of

open fun <T> of(type: Class<T>): Bindable<T>

Create a new Bindable of the specified type.

Return

a Bindable instance

Parameters

<T>

the source type

type

the type (must not be null)

See also


open fun <T> of(type: ResolvableType): Bindable<T>

Create a new Bindable of the specified type.

Return

a Bindable instance

Parameters

<T>

the source type

type

the type (must not be null)

See also