balloon

inline fun <T : Balloon.Factory> ComponentActivity.balloon(factory: KClass<T>): Lazy<Balloon>

Returns a Lazy delegate to access the ComponentActivity's Balloon property.

Parameters

factory

A Balloon.Factory kotlin class for creating a new instance of the Balloon.

inline fun <T : Balloon.Factory> ComponentActivity.balloon(): Lazy<Balloon>

Returns a Lazy delegate to access the ComponentActivity's Balloon property. The balloon property will be initialized lazily.

See also

inline fun <T : Balloon.Factory> Fragment.balloon(factory: KClass<T>): Lazy<Balloon>

Returns a Lazy delegate to access the Fragment's Balloon property.

Parameters

factory

A Balloon.Factory kotlin class for creating a new instance of the Balloon.

inline fun <T : Balloon.Factory> Fragment.balloon(): Lazy<Balloon>

Returns a Lazy delegate to access the Fragment's Balloon property. The balloon property will be initialized lazily.

See also

inline fun <T : Balloon.Factory> View.balloon(factory: KClass<T>): Lazy<Balloon>

Returns a Lazy delegate to access the custom View's Balloon property.

Parameters

factory

A Balloon.Factory kotlin class for creating a new instance of the Balloon.

inline fun <T : Balloon.Factory> View.balloon(): Lazy<Balloon>

Returns a Lazy delegate to access the custom View's Balloon property. The balloon property will be initialized lazily.

See also