public class PrivilegeAdapter
extends androidx.recyclerview.widget.RecyclerView.Adapter<com.app.user.guardin.adapter.PrivilegeAdapter.PrivilegeViewHolder>
构造器和说明 |
---|
PrivilegeAdapter(android.content.Context context) |
限定符和类型 | 方法和说明 |
---|---|
int |
getItemCount() |
java.util.List<com.app.user.guardin.adapter.PrivilegeAdapter.PrivilegeInfo> |
getPrivilegeInfos(int stageType) |
void |
onBindViewHolder(com.app.user.guardin.adapter.PrivilegeAdapter.PrivilegeViewHolder holder,
int position) |
com.app.user.guardin.adapter.PrivilegeAdapter.PrivilegeViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
void |
refreshPrivileges(int stageType) |
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 com.app.user.guardin.adapter.PrivilegeAdapter.PrivilegeViewHolder onCreateViewHolder(android.view.ViewGroup parent, int viewType)
onCreateViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<com.app.user.guardin.adapter.PrivilegeAdapter.PrivilegeViewHolder>
public void onBindViewHolder(com.app.user.guardin.adapter.PrivilegeAdapter.PrivilegeViewHolder holder, int position)
onBindViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<com.app.user.guardin.adapter.PrivilegeAdapter.PrivilegeViewHolder>
public java.util.List<com.app.user.guardin.adapter.PrivilegeAdapter.PrivilegeInfo> getPrivilegeInfos(int stageType)
public int getItemCount()
getItemCount
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<com.app.user.guardin.adapter.PrivilegeAdapter.PrivilegeViewHolder>
public void refreshPrivileges(int stageType)