protected class StickerBarTableView.StickerBarTableViewAdapter extends TuSdkAdapter<StickerData>
构造器和说明 |
---|
StickerBarTableViewAdapter() |
StickerBarTableViewAdapter(int viewLayoutId) |
StickerBarTableViewAdapter(int viewLayoutId,
java.util.List<StickerData> modeList) |
限定符和类型 | 方法和说明 |
---|---|
int |
getItemCount() |
int |
getItemViewType(int position) |
void |
onBindViewHolder(TuSdkViewHolder<StickerData> holder,
int position) |
TuSdkViewHolder<StickerData> |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType)
创建视图
|
getItem, getItemClickListener, getItemId, getItemPosition, getModeList, getSelectedPosition, getViewLayoutId, onViewAttachedToWindow, onViewRecycled, setItemClickListener, setModeList, setSelectedPosition, setViewLayoutId
bindViewHolder, createViewHolder, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewDetachedFromWindow, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserver
public StickerBarTableViewAdapter()
public StickerBarTableViewAdapter(int viewLayoutId, java.util.List<StickerData> modeList)
public StickerBarTableViewAdapter(int viewLayoutId)
public int getItemCount()
getItemCount
在类中 TuSdkAdapter<StickerData>
public int getItemViewType(int position)
getItemViewType
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<TuSdkViewHolder<StickerData>>
public TuSdkViewHolder<StickerData> onCreateViewHolder(android.view.ViewGroup parent, int viewType)
TuSdkAdapter
onCreateViewHolder
在类中 TuSdkAdapter<StickerData>
public void onBindViewHolder(TuSdkViewHolder<StickerData> holder, int position)
onBindViewHolder
在类中 TuSdkAdapter<StickerData>