public class RecyclerViewCacheUtil<Item extends IItem>
extends java.lang.Object
| Constructor and Description |
|---|
RecyclerViewCacheUtil() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(android.support.v7.widget.RecyclerView recyclerView,
java.lang.Iterable<Item> items)
init the cache on your own.
|
RecyclerViewCacheUtil |
withCacheSize(int cacheSize)
define the amount of elements which should be cached for a specific drawerItem type
|
public RecyclerViewCacheUtil withCacheSize(int cacheSize)
cacheSize - public void apply(android.support.v7.widget.RecyclerView recyclerView,
java.lang.Iterable<Item> items)
recyclerView - items -