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:
Components | Description |
---|---|
CometChatListBase | CometChatListBase is a container component featuring a title, customizable background options, and a dedicated list view for seamless integration within your application’s interface. |
CometChatListItem | This component displays data retrieved from a CallLog object on a card, presenting a title and subtitle. |
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.
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.
CometChatCallLogParticipants
into your Activity and Fragment by adding the following code snippets into the respective classes.
setOnItemClickListener
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.
CometChatCallLogParticipants
component does not have any exposed filters.
Component
. 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.
CallLogParticipantsStyle
Component by applying the CallLogParticipantsStyle
to it using the following code snippet.
CallLogParticipantsStyle
Property | Description | Code |
---|---|---|
Background | Used to set background color | .setBackground(@ColorInt int) |
Background | Used to set background Drawable | .setBackground(Drawable) |
Border Color | Used to set border color | .setBorderColor(@ColorInt int) |
Border Width | Used to set border | .setBorderWidth(@Dimension int) |
Corner Radius | Used to set border radius | .setCornerRadius(float) |
Empty Text Appearance | Used to set the appearance of the text shown when list is empty. | .setEmptyTextAppearance(@StyleRes int) |
Empty Text Font | Used to set the font of the Empty text which appears when the list is empty. | .setEmptyTextFont(String) |
Empty Text Color | Used to set the color of the Empty text. | .setEmptyTextColor(@ColorInt int) |
Back Icon Tint | Used to set the backIcon Tint color | .setBackIconTint(@ColorInt int) |
Title Appearance | Used to set the appearance of the title text. | .setTitleAppearance(@StyleRes int) |
Title Color | Used to set the color of the title text. | .setTitleColor(@ColorInt int) |
Title Font | Used to set the Title Color | .setTitleFont(String) |
ListItemStyle
component in the CometChatCallLogParticipants
Component, you can use the following code snippet. For further insights on ListItemStyle
Styles refer
Property | Description | Code |
---|---|---|
Back Icon | Used to set back button icon | .backIcon(@DrawableRes int res) |
Empty State Text | Used to set a custom text when the Participants array is empty | .emptyStateText(String) |
Selection Icon | Used to override the default selection complete icon | .setSelectionIcon(@DrawableRes int res) |
Set Submit Icon | Used to override the default selection complete icon | .setSubmitIcon(@DrawableRes int res) |
Set Title | Used to set title in the app bar | .setTitle(String) |
setEmptyStateView()
to match the error view of your app.
empty_view_layout.xml
as a custom view file. Which we will inflate and pass to .setEmptyStateView()
.
setEmptyStateView
. You can get the child view reference and can handle click actions.
CometChatCallLogParticipants
component.
view_menu.xml
as a custom view file. Which we will inflate and pass to .setMenu()
.
setMenu
. You can get the child view reference and can handle click actions.