ChannelModule

open class ChannelModule : BaseMessageListModule<LC>

A module for channel. This module is composed of a header, list, input, and status. All composed components are created when the module is created. After than those components can replace.

since 3.0.0

Constructors

Link copied to clipboard
open fun ChannelModule(@NonNull context: Context)
Constructor
Link copied to clipboard
open fun ChannelModule(@NonNull context: Context, @NonNull params: ChannelModule.Params)
Constructor

Types

Link copied to clipboard
open class Params : BaseModule.Params

Functions

Link copied to clipboard
open fun onCreateView(    @NonNull context: Context,     @NonNull inflater: LayoutInflater,     @Nullable args: Bundle): View
Called after the module was created to make views to use in the Fragment or Activity.
Link copied to clipboard
open fun <T : ChannelHeaderComponent?> setHeaderComponent(@NonNull component: T)
Sets a custom channel header component.

Properties

Link copied to clipboard
open val headerComponent: ChannelHeaderComponent
Link copied to clipboard
val params: ChannelModule.Params