Class ContactSelectableViewHolder
-
- All Implemented Interfaces:
public class ContactSelectableViewHolder extends RecyclerView.ViewHolder
-
-
Field Summary
Fields Modifier and Type Field Description public final ViewitemView
-
Constructor Summary
Constructors Constructor Description ContactSelectableViewHolder(View itemView, OnActionClickListener<ContactModel> onItemClickListener, OnActionClickListener<ContactModel> onItemRemoveClickListener, boolean showSelectButton, boolean showItemRightArrow, boolean showItemRightText, boolean showItemSelectAutoUpdate, boolean showItemRemoveButton)
-
Method Summary
Modifier and Type Method Description voidbind(ContactModel contactModel)voidsetDividerVisibility(boolean isVisible)voidsetShowItemRemoveButton(boolean isShow)-
Methods inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder
getAdapterPosition, getItemId, getItemViewType, getLayoutPosition, getOldPosition, getPosition, isRecyclable, setIsRecyclable, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ContactSelectableViewHolder
ContactSelectableViewHolder(View itemView, OnActionClickListener<ContactModel> onItemClickListener, OnActionClickListener<ContactModel> onItemRemoveClickListener, boolean showSelectButton, boolean showItemRightArrow, boolean showItemRightText, boolean showItemSelectAutoUpdate, boolean showItemRemoveButton)
-
-
Method Detail
-
bind
void bind(ContactModel contactModel)
-
setDividerVisibility
void setDividerVisibility(boolean isVisible)
-
setShowItemRemoveButton
void setShowItemRemoveButton(boolean isShow)
-
-
-
-