ChannelListModule

open class ChannelListModule : BaseModule

A module for channel list. This module is composed of a header, list, 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 ChannelListModule(@NonNull context: Context)
Constructor
Link copied to clipboard
open fun ChannelListModule(@NonNull context: Context, @NonNull params: ChannelListModule.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 : ChannelListComponent?> setChannelListComponent(@NonNull component: T)
Sets a custom list component.
Link copied to clipboard
open fun <T : HeaderComponent?> setHeaderComponent(@NonNull component: T)
Sets a custom header component.
Link copied to clipboard
open fun <T : StatusComponent?> setStatusComponent(@NonNull component: T)
Sets a custom status component.

Properties

Link copied to clipboard
open val channelListComponent: ChannelListComponent
Link copied to clipboard
open val headerComponent: HeaderComponent
Link copied to clipboard
val params: ChannelListModule.Params
Link copied to clipboard
open val statusComponent: StatusComponent