Skip to main content
Build a custom participant list UI that displays real-time participant information with full control over layout and interactions. This guide demonstrates how to hide the default participant list and create your own using participant events and actions.

Overview

The SDK provides participant data through events, allowing you to build custom UIs for:
  • Participant roster with search and filtering
  • Custom participant cards with role badges or metadata
  • Moderation dashboards with quick access to controls
  • Attendance tracking and engagement monitoring

Prerequisites

  • CometChat Calls SDK installed and initialized
  • Active call session (see Join Session)
  • Basic understanding of RecyclerView and adapters

Step 1: Hide Default Participant List

Configure session settings to hide the default participant list button:

Step 2: Create Participant List Layout

Create a layout with RecyclerView for displaying participants:

Step 3: Create Participant Adapter

Build a RecyclerView adapter to display participant data:

Step 4: Implement Participant Events

Listen for participant updates and handle actions in your Activity:

Complete Example

Here’s the full implementation with all components: