Package icyllis.modernui.widget

# Interface AbsListView.RecyclerListener

Enclosing class:
  `AbsListView`

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface 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.

See Also:
  - `AbsListView.setRecyclerListener(RecyclerListener)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onMovedToScrapHeap(View view)`
  Indicates that the specified View was moved into the recycler's scrap heap.

- ## Method Details

  - ### onMovedToScrapHeap

    void onMovedToScrapHeap(@NonNull 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.
    Parameters:
      `view` - the view