Added in API level 1

RecyclerListener

interface RecyclerListener
android.widget.AbsListView.RecyclerListener

A RecyclerListener is used to receive a notification whenever a View is placed inside the RecycleBin's scrap heap. This listener is used to free resources associated to Views placed in the RecycleBin.

Summary

Public methods
abstract Unit

Indicates that the specified View was moved into the recycler's scrap heap.

Public methods

onMovedToScrapHeap

Added in API level 1
abstract fun onMovedToScrapHeap(view: View!): Unit

Indicates that the specified View was moved into the recycler's scrap heap. The view is not displayed on screen any more and any expensive resource associated with the view should be discarded.

Parameters
view View!: