editTextBindEvents

Create a Flow of bind events on the EditTextPreference instance.

Note: Created flow keeps a strong reference to the EditTextPreference instance until the coroutine that launched the flow collector is cancelled.

Example of usage:

editTextPreference.editTextBindEvents()
.onEach { event ->
// handle edit text preference bind event
}
.launchIn(uiScope)