startIconLongClicks
Create a Flow of long clicked events on the TextInputLayout instance's start icon.
Note: Created flow keeps a strong reference to the TextInputLayout instance until the coroutine that launched the flow collector is cancelled.
Example of usage:
textInputLayout.startIconLongClicks()
.onEach {
// handle start icon long clicked
}
.launchIn(uiScope)
Content copied to clipboard