textChangeEvents
Create a InitialValueFlow of text change events on the TextView instance.
Note: Created flow keeps a strong reference to the TextView instance until the coroutine that launched the flow collector is cancelled.
Example of usage:
textView.textChangeEvents()
.onEach { event ->
// handle text view text change event
}
.launchIn(uiScope)
Content copied to clipboard