recycleView

open fun recycleView(@NonNull view: View)(source)

Recycle a detached view. The specified view will be added to a pool of views for later rebinding and reuse.

A view must be fully detached (removed from parent) before it may be recycled. If the View is scrapped, it will be removed from scrap list.

Parameters

view

Removed view for recycling

See also