Message Thread Module
A module for message thread. 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.
- Header component is MessageThreadHeaderComponent and you can set custom header component by setHeaderComponent
- List component is ThreadListComponent and you can set custom list component by setMessageListComponent
- Input component is MessageThreadInputComponent and you can set custom input component by setInputComponent
- Status component is StatusComponent and you can set custom status component by setStatusComponent
Constructors
Link copied to clipboard
Constructor
Link copied to clipboard
open fun MessageThreadModule(@NonNull context: Context, @NonNull parentMessage: BaseMessage, @NonNull params: MessageThreadModule.Params)
Constructor
Types
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
Sets a custom header component.