Overview
CometChatCallLogParticipants is a Component that shows a separate view that displays comprehensive information about Call. This will enable users to easily access details such as the call participants, and call details for a more informed communication experience.

CometChatCallLogParticipants component is composed of the following BaseComponents:
Usage
Integration
CometChatCallLogParticipants is a component that seamlessly integrates into your application. To present the participants of a call, you can instantiate the CometChatCallLogParticipants instance and provide the list of participants using its setter function. This allows for easy customization and efficient display of call participant details within your application’s interface.
CometChatCallLogParticipants can be launched by adding the following code snippet to the XML layout file.
- XML
CometChatCallLogParticipants within the XML code or in your activity or fragment then you’ll need to extract them and set the Participants List using the setParticipantList() method.
- Java
- Kotlin
Activity and Fragment
You can integrateCometChatCallLogParticipants into your Activity and Fragment by adding the following code snippets into the respective classes.
- Java (Activity)
- Kotlin (Activity)
- Java (Fragment)
- Kotlin (Fragment)
YourActivity.java
Actions
Actions dictate how a component functions. They are divided into two types: Predefined and User-defined. You can override either type, allowing you to tailor the behavior of the component to fit your specific needs.1. SetOnItemClickListener
ThesetOnItemClickListener action is typically triggered when a participant in the call log is clicked, executing a predefined action. However, by implementing the provided code snippet, you can effortlessly customize or override this default behavior to meet your specific requirements.
- Java
- Kotlin
Filters
Filters allow you to customize the data displayed in a list within a Component. You can filter the list based on your specific criteria, allowing for a more customized. Filters can be applied using RequestBuilders of Chat SDK. TheCometChatCallLogParticipants component does not have any exposed filters.
Events
Events are emitted by aComponent. By using event you can extend existing functionality. Being global events, they can be applied in Multiple Locations and are capable of being Added or Removed.
The CometChatCallLogParticipants component does not have any exposed events.
Customization
To fit your app’s design requirements, you can customize the appearance of the conversation component. We provide exposed methods that allow you to modify the experience and behavior according to your specific needs.Style
Using Style you can customize the look and feel of the component in your app, These parameters typically control elements such as the color, size, shape, and fonts used within the component.1. CallLogParticipants Style
You can customize the appearance of theCallLogParticipantsStyle Component by applying the CallLogParticipantsStyle to it using the following code snippet.
- Java
- Kotlin
CallLogParticipantsStyle
2. ListItem Styles
To apply customized styles to theListItemStyle component in the CometChatCallLogParticipants Component, you can use the following code snippet. For further insights on ListItemStyle Styles refer
- Java
- Kotlin
Functionality
These are a set of small functional customizations that allow you to fine-tune the overall experience of the component. With these, you can change text, set custom icons, and toggle the visibility of UI elements.
- Java
- Kotlin
Advanced
For advanced-level customization, you can set custom views to the component. This lets you tailor each aspect of the component to fit your exact needs and application aesthetics. You can create and define your views, layouts, and UI elements and then incorporate those into the component.SetEmptyStateView 🛑
You can set a custom EmptyStateView usingsetEmptyStateView() to match the error view of your app.
- Java
- Kotlin

empty_view_layout.xml as a custom view file. Which we will inflate and pass to .setEmptyStateView().
empty_view_layout.xml
setEmptyStateView. You can get the child view reference and can handle click actions.
- Java
- Kotlin
Menu
You can set the Custom Menu to add more options to theCometChatCallLogParticipants component.
- Java
- Kotlin
view_menu.xml as a custom view file. Which we will inflate and pass to .setMenu().
view_menu.xml
setMenu. You can get the child view reference and can handle click actions.
- Java
- Kotlin
YourActivity.java