CometChatCallLogs renders a scrollable list of call logs for the logged-in user with caller names, avatars, call status indicators, and timestamps.

Where It Fits
CometChatCallLogs is a list component. It renders the user’s call history and emits the selected CallLog via onItemClick. Use it as a standalone call history screen or as a tab in a tabbed layout alongside conversations and contacts.
- Kotlin (XML Views)
- Jetpack Compose
activity_call_logs.xml
Quick Start
- Kotlin (XML Views)
- Jetpack Compose
Add to your layout XML:Or programmatically:
CometChatUIKit.init(), a user logged in, the UI Kit dependency added, and the CometChat Calls SDK configured.
Or in a Fragment:
- Kotlin (XML Views)
- Jetpack Compose
Filtering Call Logs
- Kotlin (XML Views)
- Jetpack Compose
Pass a
CallLogRequest.CallLogRequestBuilder to control what loads:Filter Recipes
Actions and Events
Callback Methods
onItemClick
Fires when a call log row is tapped. Primary navigation hook.
- Kotlin (XML Views)
- Jetpack Compose
Replaces the default item-click behavior. Your custom lambda executes instead of the built-in navigation.
onItemLongClick
Fires when a call log row is long-pressed.
- Kotlin (XML Views)
- Jetpack Compose
onBackPress
Fires when the user presses the back button in the toolbar.
- Kotlin (XML Views)
- Jetpack Compose
onError
Fires on internal errors (network failure, auth issue, SDK exception).
- Kotlin (XML Views)
- Jetpack Compose
onLoad
Fires when the list is successfully fetched and loaded.
- Kotlin (XML Views)
- Jetpack Compose
onEmpty
Fires when the list is empty after loading.
- Kotlin (XML Views)
- Jetpack Compose
Functionality
Custom View Slots
Leading View
Replace the avatar / left section.
- Kotlin (XML Views)
- Jetpack Compose
Title View
Replace the name / title text.
- Kotlin (XML Views)
- Jetpack Compose
Subtitle View
Replace the subtitle text below the caller’s name.
- Kotlin (XML Views)
- Jetpack Compose
Trailing View
Replace the right section of each call log item.
- Kotlin (XML Views)
- Jetpack Compose
Item View
Replace the entire list item row.
- Kotlin (XML Views)
- Jetpack Compose
State Views
- Kotlin (XML Views)
- Jetpack Compose
Overflow Menu
- Kotlin (XML Views)
- Jetpack Compose
Menu Options
- Kotlin (XML Views)
- Jetpack Compose
Common Patterns
Minimal list — hide all chrome
- Kotlin (XML Views)
- Jetpack Compose
Audio calls only
- Kotlin (XML Views)
- Jetpack Compose
Video calls only
- Kotlin (XML Views)
- Jetpack Compose
Advanced Methods
ViewModel Access
- Kotlin (XML Views)
- Jetpack Compose
Style

- Kotlin (XML Views)
- Jetpack Compose
Define a custom style in
themes.xml:themes.xml
Style Properties
See Component Styling for the full reference.
Next Steps
Call Features
Voice and video calling overview
Conversations
Browse recent conversations
Component Styling
Detailed styling reference with screenshots
ViewModel & Data
Custom ViewModels, repositories, and ListOperations