to top
Android APIs
Added in API level 1
public static interface

AbsListView.RecyclerListener

android.widget.AbsListView.RecyclerListener

Class Overview

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

public abstract void onMovedToScrapHeap (View view)

Added in API level 1

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.