isAttachedToWindow

Returns whether LayoutManager is currently attached to a RecyclerView which is attached to a window.

Return

True if this LayoutManager is controlling a RecyclerView and the RecyclerView is attached to window.