Android APIs
public static class

RecyclerView.RecycledViewPool

extends Object
java.lang.Object
   ↳ android.support.v7.widget.RecyclerView.RecycledViewPool

Class Overview

RecycledViewPool lets you share Views between multiple RecyclerViews.

If you want to recycle views across RecyclerViews, create an instance of RecycledViewPool and use setRecycledViewPool(RecycledViewPool).

RecyclerView automatically creates a pool for itself if you don't provide one.

Summary

Public Constructors
RecyclerView.RecycledViewPool()
Public Methods
void clear()
RecyclerView.ViewHolder getRecycledView(int viewType)
void putRecycledView(RecyclerView.ViewHolder scrap)
void setMaxRecycledViews(int viewType, int max)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RecyclerView.RecycledViewPool ()

Public Methods

public void clear ()

public RecyclerView.ViewHolder getRecycledView (int viewType)

public void putRecycledView (RecyclerView.ViewHolder scrap)

public void setMaxRecycledViews (int viewType, int max)