setEnabled

open fun setEnabled(enabled: Boolean)

Sets the enabled state of this view. The interpretation of the enabled state varies by subclass.

Parameters

enabled

true if this view is enabled, false otherwise.