hasFocus

open fun hasFocus(): Boolean(source)

Returns true if the RecyclerView this LayoutManager is bound to has or contains focus.

Return

true if the RecyclerView has or contains focus

See also