public class BonusTaskCompleteAdapter
extends androidx.recyclerview.widget.RecyclerView.Adapter<com.kxsimon.video.chat.bonus.BonusTaskCompleteAdapter.TaskBaseViewHolder>
限定符和类型 | 字段和说明 |
---|---|
static int |
STATUS_END |
static int |
STATUS_ERROR |
static int |
STATUS_NORMAL |
构造器和说明 |
---|
BonusTaskCompleteAdapter(android.content.Context mContext) |
限定符和类型 | 方法和说明 |
---|---|
void |
addDatas(java.util.ArrayList<BonusCompletionStatusMessage.BonusCompletionStatus> datas) |
void |
clearDatas() |
int |
getItemCount() |
int |
getItemViewType(int position) |
java.lang.String |
getmGiftUrl() |
void |
onBindViewHolder(com.kxsimon.video.chat.bonus.BonusTaskCompleteAdapter.TaskBaseViewHolder holder,
int position) |
com.kxsimon.video.chat.bonus.BonusTaskCompleteAdapter.TaskBaseViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
void |
setBottomStatus(int bottomStatus) |
void |
setmGiftUrl(java.lang.String mGiftUrl) |
bindViewHolder, createViewHolder, getItemId, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserver
public static int STATUS_NORMAL
public static int STATUS_END
public static int STATUS_ERROR
public void addDatas(java.util.ArrayList<BonusCompletionStatusMessage.BonusCompletionStatus> datas)
public void clearDatas()
public java.lang.String getmGiftUrl()
public void setmGiftUrl(java.lang.String mGiftUrl)
public com.kxsimon.video.chat.bonus.BonusTaskCompleteAdapter.TaskBaseViewHolder onCreateViewHolder(android.view.ViewGroup parent, int viewType)
onCreateViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<com.kxsimon.video.chat.bonus.BonusTaskCompleteAdapter.TaskBaseViewHolder>
public void onBindViewHolder(com.kxsimon.video.chat.bonus.BonusTaskCompleteAdapter.TaskBaseViewHolder holder, int position)
onBindViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<com.kxsimon.video.chat.bonus.BonusTaskCompleteAdapter.TaskBaseViewHolder>
public int getItemCount()
getItemCount
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<com.kxsimon.video.chat.bonus.BonusTaskCompleteAdapter.TaskBaseViewHolder>
public int getItemViewType(int position)
getItemViewType
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<com.kxsimon.video.chat.bonus.BonusTaskCompleteAdapter.TaskBaseViewHolder>
public void setBottomStatus(int bottomStatus)