Skip to main content
This guide builds a sequential navigation chat layout — conversation list as the entry point, tap a conversation to open a full-screen message view. This assumes you’ve already completed the integration guide for your chosen UI toolkit (project created, dependencies installed, init + login working).

What You’re Building

Three sections working together:
  1. Conversation list — shows all active conversations (users and groups)
  2. Message header — displays user/group name, avatar, and status
  3. Message list + composer — chat history with real-time updates and text input
This implementation uses Android’s standard Activity navigation: ConversationActivity displays the list, user taps a conversation, MessageActivity launches with the selected user/group data via Intent extras.

Step 1: Set Up the Conversation List

Create a new Activity called ConversationActivity to display the list of conversations.Layoutactivity_conversation.xml:
activity_conversation.xml
ActivityConversationActivity.kt:
ConversationActivity.kt
You must use an activity that supports the lifecycle API (AppCompatActivity, ComponentActivity, or FragmentActivity) to properly manage the UI Kit’s lifecycle events.

Step 2: Set Up the Message Screen

Create a new Activity — MessageActivity to display the chat interface.Layoutactivity_message.xml:
activity_message.xml
ActivityMessageActivity.kt:
MessageActivity.kt

Step 3: Update MainActivity

Update your MainActivity to launch ConversationActivity after successful login:
MainActivity.kt

Step 4: Register Activities & Permissions

Add the new activities to your AndroidManifest.xml:
AndroidManifest.xml
Ensure you’ve added the required permissions in your AndroidManifest.xml:
AndroidManifest.xml

Next Steps

Components Overview

Explore all available UI Kit components and their customization options

Theming

Customize colors, fonts, and styles to match your brand

Integration

Back to the main integration guide

Feature Guides

Add capabilities like threaded messages, blocking, and group management