CometChatEvents singleton using Kotlin SharedFlow.
Component-Level Callbacks
Click Callbacks
- Kotlin (XML Views)
- Jetpack Compose
Selection Mode
Enable single or multi-select on list components:- Kotlin (XML Views)
- Jetpack Compose
Global Events (CometChatEvents)
Global events are emitted by UI Kit components when actions happen anywhere in the app. They use KotlinSharedFlow for reactive, type-safe event distribution. Subscribe from any coroutine scope.
Event Flows
Subscribing to Events
Emitting Events
Key Event Types
Message Events:
Call Events:
Conversation Events:
Component vs Global Events
Related
- Events Reference — Full list of all event types.
- Customization Overview — SDK Listeners vs UIKit Events distinction.