Added in API level 1

AbsListView.RecyclerListener


public static interface AbsListView.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 void onMovedToScrapHeap(View view)

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

Public methods

onMovedToScrapHeap

Added in API level 1
public abstract void onMovedToScrapHeap (View view)

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.