removeViewAt

open fun removeViewAt(index: Int)(source)

Remove a view from the currently attached RecyclerView if needed. LayoutManagers should use this method to completely remove a child view that is no longer needed. LayoutManagers should strongly consider recycling removed views using recycleView.

Parameters

index

Index of the child view to remove