CometChatListBase is a custom UI Component which displays common components used across Conversations, Groups & Users. It serves as the base component from which these components are inherited.

Usage in Java
<Component> extends CometChatListBase
Example: CometChatUsers extends CometChatListBase
Methods
Background
The background is a View which is present in the backdrop forCometChatListBase. You will be able to modify the background using the below methods:
- Java
Title
The title is aTextView that specifies a title for CometChatListBase. You will be able to modify the title using the below methods:
- Java

Search
The search is aTextInputLayout which is responsible for displaying and handling events for the search bar in CometChatListBase. You will be able to modify the search bar using the below methods:
- Java

Back
The back button is theImageButton the user can show if they wish to. This button can be modified using the following method:
- Java
View Methods
Below methods are used to merge view with CometChatListBase.- Java
setListBaseEventListener
CometChatListBase uses an event listener named asOnEventListenerit will provide the events for search-bar and on the click of back button present in the CometChatListBase.
Uses
- Java