OnDisabledClickListenerOwner

interface OnDisabledClickListenerOwner

An interface for Views that can handle click events while in a disabled state. By default, Android doesn't invoke the View.OnClickListener when the view is in the disabled state. This interface allows clients to register listeners for these click events using setOnDisabledClickListener.

Functions

Link copied to clipboard
abstract fun setOnDisabledClickListener(listener: View.OnClickListener?)

Sets a listener that will be called when the view is clicked while in a disabled state. If listener is null, the set listener is cleared.

Inheritors

Link copied to clipboard