public class WrapAdapter<Item extends com.mikepenz.fastadapter.IItem>
extends com.mikepenz.fastadapter.commons.adapters.AbstractWrapAdapter<Item>
| Constructor and Description |
|---|
WrapAdapter(java.util.List<Item> items) |
| Modifier and Type | Method and Description |
|---|---|
int |
itemInsertedBeforeCount(int position) |
void |
setItems(java.util.List<Item> items) |
boolean |
shouldInsertItemAtPosition(int position) |
getAdapter, getItem, getItemCount, getItemId, getItems, getItemViewType, onAttachedToRecyclerView, onBindViewHolder, onBindViewHolder, onCreateViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserver, wrapbindViewHolder, createViewHolder, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemovedpublic WrapAdapter(java.util.List<Item> items)
public void setItems(java.util.List<Item> items)
setItems in class com.mikepenz.fastadapter.commons.adapters.AbstractWrapAdapter<Item extends com.mikepenz.fastadapter.IItem>public boolean shouldInsertItemAtPosition(int position)
shouldInsertItemAtPosition in class com.mikepenz.fastadapter.commons.adapters.AbstractWrapAdapter<Item extends com.mikepenz.fastadapter.IItem>public int itemInsertedBeforeCount(int position)
itemInsertedBeforeCount in class com.mikepenz.fastadapter.commons.adapters.AbstractWrapAdapter<Item extends com.mikepenz.fastadapter.IItem>