CometChatCallLogsWithDetails
is a Composite Component encompassing components such as Call Logs and CometChatCallLogsWithDetails. Both of these component contributes to the functionality and structure of the overall CometChatCallLogsWithDetails
component.
CometChatCallLogsWithDetails
is a composite component that seamlessly integrates into your application. You can push it onto the navigation stack using a navigation controller. This allows for easy navigation and efficient display of call log details within your application’s interface.
CometChatCallLogsWithDetails
can be launched by adding the following code snippet into the XML layout file.
CometChatCallLogsWithDetails
within the XML code or in your activity or fragment then you’ll need to extract them.
CometChatCallLogsWithDetails
into your Activity and Fragment by adding the following code snippets into the respective classes.
setOnItemClickListener()
functionality within CometChatCallLogsWithDetails, empowering them with greater control and customization options.
The setOnItemClickListener()
action doesn’t have a predefined behavior. You can override this action using the following code snippet.
setOnError()
and improve error handling.
CometChatCallLogsWithDetails
component does not have filters, its components do, For more detail on individual filters of its component refer to Call Logs and CometChatCallLogsWithDetails.
By utilizing the Configurations object of its components, you can apply filters.
Property | Description | Code |
---|---|---|
Call Status Icon Tint | Sets the tint color for the call status icon | .set(callStatusIconTint: UIColor) |
Call Status Text Font | Sets the font for the call status text | .set(callStatusTextFont: UIFont) |
Call Status Text Color | Sets the color for the call status text | .set(callStatusTextColor: UIColor) |
Call Time Text Font | Sets the font for the call time text | .set(callTimeTextFont: UIFont) |
Call Time Text Color | Sets the color for the call time text | .set(callTimeTextColor: UIColor) |
Date Separator Text Font | Sets the font for the date separator text | .set(dateSeparatorTextFont: UIFont) |
Date Separator Text Color | Sets the color for the date separator text | .set(dateSeparatorTextColor: UIColor) |
Empty State Text Font | Sets the font for the empty state text | .set(emptyStateTextFont: UIFont) |
Empty State Text Color | Sets the color for the empty state text | .set(emptyStateTextColor: UIColor) |
Error State Text Font | Sets the font for the error state text | .set(errorStateTextFont: UIFont) |
Error State Text Color | Sets the color for the error state text | .set(errorStateTextColor: UIColor) |
Info Icon Tint | Sets the tint color for the info icon | .set(infoIconTint: UIColor) |
Incoming Call Icon Tint | Sets the tint color for the incoming call icon | .set(incomingCallIconTint: UIColor) |
Missed Call Icon Tint | Sets the tint color for the missed call icon | .set(missedCallIconTint: UIColor) |
Missed Call Title Tint | Sets the tint for the missed call title | .set(missedCallTitleTint: UIColor) |
Outgoing Call Icon Tint | Sets the tint color for the outgoing call icon | .set(outgoingCallIconTint: UIColor) |
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 CometChatCallLogsWithDetails
component does not have any exposed events.
CometChatCallLogsWithDetails
does not provide its own specific styling options, each individual component contained within it offers its own set of styling attributes. This allows for granular customization of each component’s appearance to match your application’s design requirements and preferences.
CometChatCallLogsWithDetails
Component by applying the CallLogsStyle
to it using the following code snippet.
CallLogsStyle
Property | Description | Code |
---|---|---|
callStatusTextFont | Sets the font for the call status text | .set(callStatusTextFont: UIFont) |
missedCallTitleTint | Sets the tint for the missed call title | .set(missedCallTitleTint: UIColor) |
callTimeTextFont | Sets the font for the call time text | .set(callTimeTextFont: UIFont) |
dateSeparatorTextFont | Sets the font for the date separator text | .set(dateSeparatorTextFont: UIFont) |
emptyStateTextFont | Sets the font for the empty state text | .set(emptyStateTextFont: UIFont) |
errorStateTextFont | Sets the font for the error state text | .set(errorStateTextFont: UIFont) |
callStatusTextColor | Sets the color for the call status text | .set(callStatusTextColor: UIColor) |
callStatusIconTint | Sets the tint color for the call status icon | .set(callStatusIconTint: UIColor) |
callTimeTextColor | Sets the color for the call time text | .set(callTimeTextColor: UIColor) |
dateSeparatorTextColor | Sets the color for the date separator text | .set(dateSeparatorTextColor: UIColor) |
missedCallIconTint | Sets the tint color for the missed call icon | .set(missedCallIconTint: UIColor) |
outgoingCallIconTint | Sets the tint color for the outgoing call icon | .set(outgoingCallIconTint: UIColor) |
incomingCallIconTint | Sets the tint color for the incoming call icon | .set(incomingCallIconTint: UIColor) |
emptyStateTextColor | Sets the color for the empty state text | .set(emptyStateTextColor: UIColor) |
errorStateTextColor | Sets the color for the error state text | .set(errorStateTextColor: UIColor) |
infoIconTint | Sets the tint color for the info icon | .set(infoIconTint: UIColor) |
Avatar
component in the CometChatCallLogsWithDetails
Component, you can use the following code snippet. For further insights on Avatar
Styles refer
ListItemStyle
component in the CometChatCallLogsWithDetails
Component, you can use the following code snippet. For further insights on ListItemStyle
Styles refer
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.
setErrorStateView()
to match the error view of your app.
error_state_view_layout.xml
as a custom view file. Which we will inflate and pass to .setErrorStateView()
.
setErrorStateView
. You can get the child view reference and can handle click actions.
CometChatCallLogsWithDetails
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.