dismisses
Create a Flow of dismiss 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.dismisses()
.onEach {
// handle auto-complete text view dismiss event
}
.launchIn(uiScope)
Content copied to clipboard
Create a Flow of dismiss events on the PopupMenu instance.
Note: Created flow keeps a strong reference to the PopupMenu instance until the coroutine that launched the flow collector is cancelled.
Example of usage:
popupMenu.dismisses()
.onEach {
// handle popup menu dismiss event
}
.launchIn(uiScope)
Content copied to clipboard