findContainingViewHolder

Returns the ViewHolder that contains the given view.

Return

The ViewHolder that contains the given view or null if the provided view is not a descendant of this RecyclerView.

Parameters

view

The view that is a descendant of the RecyclerView.