MemberListAdapter

MemberListAdapter provides a binding from a Member type data set to views that are displayed within a RecyclerView. since 3.0.0

Functions

Link copied to clipboard
protected open fun getItemViewDescription(@NonNull context: Context, @NonNull member: Member): String
Returns the description to be shown in item view.
Link copied to clipboard
protected open fun isCurrentUserOperator(): Boolean
Returns whether the current user is operator or not.
Link copied to clipboard
open fun setItems(@NonNull userList: List<Member>, @NonNull myRole: Role)
Sets the to be displayed.