public class PKRankTabAdapter extends androidx.recyclerview.widget.RecyclerView.Adapter<PKRankTabAdapter.ViewHolder>
限定符和类型 | 类和说明 |
---|---|
class |
PKRankTabAdapter.ViewHolder |
构造器和说明 |
---|
PKRankTabAdapter(android.content.Context mContext,
boolean isHost,
PkRankAdapter.ClickCallBack mClickCallBack) |
限定符和类型 | 方法和说明 |
---|---|
int |
getItemCount() |
void |
onBindViewHolder(PKRankTabAdapter.ViewHolder holder,
int position) |
PKRankTabAdapter.ViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
void |
refreshFollow(java.lang.String uid,
boolean isFollow) |
void |
setData(java.util.List<PKGameRankMessage.Supporter> list1,
java.util.List<PKGameRankMessage.Supporter> list2) |
bindViewHolder, createViewHolder, getItemId, getItemViewType, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserver
public PKRankTabAdapter(android.content.Context mContext, boolean isHost, PkRankAdapter.ClickCallBack mClickCallBack)
@NonNull public PKRankTabAdapter.ViewHolder onCreateViewHolder(@NonNull android.view.ViewGroup parent, int viewType)
onCreateViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<PKRankTabAdapter.ViewHolder>
public void onBindViewHolder(@NonNull PKRankTabAdapter.ViewHolder holder, int position)
onBindViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<PKRankTabAdapter.ViewHolder>
public int getItemCount()
getItemCount
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<PKRankTabAdapter.ViewHolder>
public void refreshFollow(java.lang.String uid, boolean isFollow)
public void setData(java.util.List<PKGameRankMessage.Supporter> list1, java.util.List<PKGameRankMessage.Supporter> list2)