lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
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.