setFocusable

open override fun setFocusable(focusable: Boolean)

Sets whether this view can receive focus.

Parameters

focusable

If true, this view can receive focus.


@RequiresApi(value = 26)
open override fun setFocusable(focusable: Int)

Sets whether this view can receive focus.