PureViewController

Constructors

Link copied to clipboard
constructor(view: View)

Properties

Link copied to clipboard
open override val self: View

It would be great to be able to define an extension function with a multiple receivers. https://youtrack.jetbrains.com/issue/KT-10468

Functions

Link copied to clipboard
open fun Flow<Boolean>.observeVisibleWhileAttached(vararg views: View)
Link copied to clipboard
open fun <T> Flow<T>.observeWhileViewAttached(action: FlowCollector<T>)

Collects the Flow using the given action while the current ViewController is attached to the Window.