itemClickEvents
Create a Flow of item click events on the AdapterView instance.
Note: Created flow keeps a strong reference to the AdapterView instance until the coroutine that launched the flow collector is cancelled.
Example of usage:
adapterView.itemClickEvents()
.onEach { event ->
// handle adapter view item click event
}
.launchIn(uiScope)
Content copied to clipboard
Create a Flow of item click events on the AutoCompleteTextView instance.
Note: Created flow keeps a strong reference to the AutoCompleteTextView instance until the coroutine that launched the flow collector is cancelled.
Example of usage:
autoCompleteTextView.itemClickEvents()
.onEach { event ->
// handle auto-complete text view item click event
}
.launchIn(uiScope)
Content copied to clipboard