errorIconClicks
Create a Flow of clicked events on the TextInputLayout instance's error 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.errorIconClicks()
.onEach {
// handle error icon clicked
}
.launchIn(uiScope)
Content copied to clipboard