SelectUserListComponent

abstract class SelectUserListComponent<T>

This class creates and performs a view corresponding the user list area when selecting users in Sendbird UIKit. since 3.0.0

Constructors

Link copied to clipboard
Constructor since 3.0.

Types

Link copied to clipboard
open class Params
A collection of parameters, which can be applied to a default View.

Functions

Link copied to clipboard
protected abstract fun getAdapter(): SelectUserListAdapter<T>
Returns the user list adapter when selecting users.
Link copied to clipboard
Returns the view created by onCreateView.
Link copied to clipboard
open fun notifyDataSetChanged(@NonNull data: List<T>)
Notifies this component that the list of users who can be selected is changed.
Link copied to clipboard
open fun notifyDisabledUserIds(@NonNull disabledUserIds: List<String>)
Notifies this component that the list of disabled users is changed.
Link copied to clipboard
Notifies this component that selecting users has been completed.
Link copied to clipboard
open fun onCreateView(@NonNull context: Context, @NonNull inflater: LayoutInflater, @NonNull parent: ViewGroup, @Nullable args: Bundle): View
Called after the component was created to make views.
Link copied to clipboard
protected open fun onUserSelectionChanged(@NonNull selectedUserIds: List<String>, isSelected: Boolean)
Called when the user is selected.
Link copied to clipboard
protected open fun <A : SelectUserListAdapter<T>?> setAdapter(adapter: A)
Sets the user list adapter when selecting users.
Link copied to clipboard
Register a callback to be invoked when the user is selected.
Link copied to clipboard
Register a callback to be invoked when selecting users is completed.
Link copied to clipboard
open fun setPagedDataLoader(@NonNull pagedDataLoader: OnPagedDataLoader<List<T>>)
Sets the paged data loader for user list.

Properties

Link copied to clipboard

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard