FragmentViewLifecycleAwareDelegate

class FragmentViewLifecycleAwareDelegate<T : Any>(val fragment: Fragment, val itemFactory: (View) -> T, val tearDown: (T) -> Unit? = null) : ReadOnlyProperty<Fragment, T>

Constructors

Link copied to clipboard
constructor(fragment: Fragment, itemFactory: (View) -> T, tearDown: (T) -> Unit? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val itemFactory: (View) -> T
Link copied to clipboard
val tearDown: (T) -> Unit? = null

Functions

Link copied to clipboard
open operator override fun getValue(thisRef: Fragment, property: KProperty<*>): T