public abstract class BaseExpandableAdapter<T> extends android.support.v7.widget.RecyclerView.Adapter<android.support.v7.widget.RecyclerView.ViewHolder>
Header Child Group ***GroupChild Footer
| 构造器和说明 |
|---|
BaseExpandableAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract int |
getChildCount() |
abstract int |
getFooterCount() |
abstract int |
getGroupChildCount(int groupPosition) |
abstract int |
getGroupCount() |
abstract int |
getHeaderCount() |
abstract T |
getItem(int adapPos) |
long |
getItemId(int position) |
abstract boolean |
isSameData(Object oldData,
Object newData)
Called when setHeader,setChild or setFooter is called
|
bindViewHolder, createViewHolder, getItemCount, getItemViewType, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onBindViewHolder, onCreateViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserverpublic long getItemId(int position)
public abstract T getItem(int adapPos)
public abstract int getHeaderCount()
public abstract int getChildCount()
public abstract int getGroupCount()
public abstract int getGroupChildCount(int groupPosition)
groupPosition - group position in group data listpublic abstract int getFooterCount()