ContactListAdapter

public class ContactListAdapter

联系人列表适配器

Author

rongcloud

Since

5.12.0

Constructors

Link copied to clipboard
public void ContactListAdapter(boolean showSelectButton, boolean showItemRightArrow, boolean showItemRightText, boolean showItemSelectAutoUpdate, boolean showItemRemoveButton)

Functions

Link copied to clipboard
public int getItemCount()
Link copied to clipboard
public int getItemViewType(int position)
Link copied to clipboard
public int getPositionForSection(char section)
Link copied to clipboard
public void onBindViewHolder(ViewHolder holder, int position)
Link copied to clipboard
public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType)
Link copied to clipboard
public void setData(List<ContactModel> newData)
Link copied to clipboard
public void setOnItemClickListener(OnActionClickListener<ContactModel> onItemClickListener)
Link copied to clipboard
public void setOnItemRemoveClickListener(OnActionClickListener<ContactModel> listener)
Link copied to clipboard
public void setShowItemRemoveButton(boolean showItemRemoveButton)