ChannelSettingsMenuComponent

This class creates and performs a view corresponding the channel settings menu area in Sendbird UIKit. since 3.0.0

Constructors

Link copied to clipboard
Constructor since 3.0.

Types

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

Functions

Link copied to clipboard
open fun createMenuView(@NonNull context: Context, @NonNull title: String, @Nullable description: String, @NonNull type: SingleMenuType, @DrawableRes iconResId: Int, @ColorRes iconTintResId: Int): View
Creates a custom menu view.
Link copied to clipboard
Returns the view created by onCreateView.
Link copied to clipboard
open fun notifyChannelChanged(@NonNull channel: GroupChannel)
Notifies this component that the channel data has changed.
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
Called when the item of the menu list is clicked.
Link copied to clipboard
Register a callback to be invoked when the item of the menu is clicked.

Properties

Link copied to clipboard
A collection of default menus.