> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-llms-indexes.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Android UI Kit v6 — LLM docs index

> Machine-readable, Android-v6-scoped index of every UI Kit page as a clean .md twin. Built for AI coding agents; kept out of the human sidebar.

# Android UI Kit v6 — LLM docs index (Latest)

> Stateful, drop-in Android chat/calling UI. Two UI flavors of ONE kit:
> `com.cometchat:chatuikit-kotlin-android:6.+` (Kotlin, XML Views) and
> `com.cometchat:chatuikit-compose-android:6.+` (Jetpack Compose) — both sit on
> `com.cometchat:chat-sdk-android:5.+`. This page is an **Android-v6-only** routing index for AI
> agents — a scoped alternative to the site-wide `/docs/llms.txt`.

## How to use this index

Each link points to the docs page; **append `.md`** to its URL to fetch the clean Markdown twin
(verbatim code + component/method signatures). Pick the page for the intent, then read the API
there.

* Convention: any docs page URL + `.md` → raw Markdown.
* Fallback: if a `.md` twin 404s, fetch the same URL **without** `.md` (HTML). Never answer
  APIs or attributes from memory.
* **Two UI flavors, one docs tree**: unlike other platforms, Android does NOT have separate
  Compose/Views doc trees. Almost every page below carries BOTH a `Kotlin (XML Views)` tab and a
  `Jetpack Compose` tab — read the tab that matches the app's UI flavor. Only Getting Started is
  split into two dedicated pages (linked below).

## Hot path — usually no fetch needed

For a plain "add chat" the Gradle dependency, `init → login → launch` flow, and the core drop-in
components are stable; a well-built agent skill bakes them. Fetch below only for exhaustive
attributes, long-tail components, theming tokens, or feature enablement.

* Setup (pick the UI flavor): [Kotlin / XML Views](/ui-kit/android/getting-started-kotlin) · [Jetpack Compose](/ui-kit/android/getting-started-jetpack)
* Core drop-ins: [Conversations](/ui-kit/android/conversations) · [Conversation + Message View](/ui-kit/android/conversation-message-view) · [Message Header](/ui-kit/android/message-header) · [Message List](/ui-kit/android/message-list) · [Message Composer](/ui-kit/android/message-composer)

## Getting started / integration

* [Getting Started (choose your UI flavor)](/ui-kit/android/getting-started)
* [Kotlin (XML Views) Integration](/ui-kit/android/getting-started-kotlin)
* [Jetpack Compose Integration](/ui-kit/android/getting-started-jetpack)
* [One-to-One / Group Chat recipe](/ui-kit/android/one-to-one-chat)
* [Tab-Based Chat recipe](/ui-kit/android/tab-based-chat)
* [Calling Integration](/ui-kit/android/calling-integration)
* [Android UI Kit — Overview](/ui-kit/android/overview)
* [Architecture & Data Flow](/ui-kit/android/architecture-data-flow)
* [Components Overview](/ui-kit/android/components-overview)

## Core & configuration

* [Core Features](/ui-kit/android/core-features)
* [Extensions](/ui-kit/android/extensions)
* [Smart / AI Features](/ui-kit/android/ai-features)
* [Call Features](/ui-kit/android/call-features)
* [Campaigns](/ui-kit/android/campaigns)
* [Methods (reference)](/ui-kit/android/methods)
* [Events (reference)](/ui-kit/android/events)
* [Troubleshooting](/ui-kit/android/troubleshooting)

## Theming

* [Theming — Introduction](/ui-kit/android/theme-introduction)
* [Color Resources](/ui-kit/android/color-resources)
* [Component Styling](/ui-kit/android/component-styling)
* [Message Bubble Styling](/ui-kit/android/message-bubble-styling)
* [Localization](/ui-kit/android/localize)
* [Sound Manager](/ui-kit/android/sound-manager)

## Customization

* [Customization — Overview](/ui-kit/android/customization-overview)
* [View Slots](/ui-kit/android/customization-view-slots)
* [Styles](/ui-kit/android/customization-styles)
* [ViewModel & Data](/ui-kit/android/customization-viewmodel-data)
* [Events](/ui-kit/android/customization-events)
* [State Views](/ui-kit/android/customization-state-views)
* [Text Formatters](/ui-kit/android/customization-text-formatters)
* [Menu Options](/ui-kit/android/customization-menu-options)

## Components — conversations & lists

* [Conversations](/ui-kit/android/conversations)
* [Conversation + Message View](/ui-kit/android/conversation-message-view)
* [Users](/ui-kit/android/users)
* [Groups](/ui-kit/android/groups)
* [Group Members](/ui-kit/android/group-members)

## Components — messages

* [Message Header](/ui-kit/android/message-header)
* [Message List](/ui-kit/android/message-list)
* [Message Composer](/ui-kit/android/message-composer)
* [Message Template](/ui-kit/android/message-template)
* [Threaded Messages Header](/ui-kit/android/threaded-messages-header)

## Components — calling

* [Call Buttons](/ui-kit/android/call-buttons)
* [Incoming Call](/ui-kit/android/incoming-call)
* [Outgoing Call](/ui-kit/android/outgoing-call)
* [Call Logs](/ui-kit/android/call-logs)

## Components — search, AI & notifications

* [Search](/ui-kit/android/search)
* [AI Assistant Chat History](/ui-kit/android/ai-assistant-chat-history)
* [Notification Feed](/ui-kit/android/notification-feed)

## Task guides (recipes)

* [Guides — Overview](/ui-kit/android/guide-overview)
* [Threaded Messages](/ui-kit/android/guide-threaded-messages)
* [Block / Unblock User](/ui-kit/android/guide-block-unblock-user)
* [New Chat Creation](/ui-kit/android/guide-new-chat)
* [Message Privately](/ui-kit/android/guide-message-privately)
* [Call Log Details](/ui-kit/android/guide-call-log-details)
* [Group Chat Setup](/ui-kit/android/guide-group-chat)
* [Search Messages](/ui-kit/android/guide-search-messages)
* [AI Agent](/ui-kit/android/guide-ai-agent)
* [Custom Text Formatter](/ui-kit/android/custom-text-formatter-guide)
* [Mentions Formatter](/ui-kit/android/mentions-formatter-guide)
* [Shortcut Formatter](/ui-kit/android/shortcut-formatter-guide)

## Something is broken — symptom to page

The answer to most first-run failures is a `<Warning>` on a page the symptom does not name. Match
the symptom, not the component.

| Symptom on a real device / build                                                                                     | Read                                                                                                                                                                       |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Build fails, \~40 `Duplicate class org.jetbrains.annotations.*` at dexing                                            | [Getting started (Kotlin)](/ui-kit/android/getting-started-kotlin) — the required `annotations-java5` exclude                                                              |
| App crashes on the chat screen: `The style on this component requires your app theme to be Theme.MaterialComponents` | [Getting started (Kotlin)](/ui-kit/android/getting-started-kotlin) — inherit `CometChatTheme.DayNight`                                                                     |
| Toolbar renders **under the status bar** / title collides with the clock                                             | [Conversation + message view](/ui-kit/android/conversation-message-view) · [One-to-one chat](/ui-kit/android/one-to-one-chat) — `enableEdgeToEdge()` needs insets CONSUMED |
| Composer crashes / `ActivityResultLauncher not initialized`                                                          | [Troubleshooting](/ui-kit/android/troubleshooting) — build the composer in `onCreate`                                                                                      |
| Calling crashes: `NoClassDefFoundError: CometChatCalls…` or `Please call the CometChatCalls.init()`                  | [Calling integration](/ui-kit/android/calling-integration) — the artifact AND `enableCalling` are a pair                                                                   |
| Components render but stay empty                                                                                     | init/login did not resolve — [Getting started (Kotlin)](/ui-kit/android/getting-started-kotlin) / [(Compose)](/ui-kit/android/getting-started-jetpack)                     |
| Keyboard covers the composer                                                                                         | `windowSoftInputMode="adjustResize"` — [One-to-one chat](/ui-kit/android/one-to-one-chat)                                                                                  |
| Colours ignored / theme not applied                                                                                  | [Theme introduction](/ui-kit/android/theme-introduction)                                                                                                                   |
| Code from an older tutorial will not compile                                                                         | you are on a v5 page — [Upgrading from v5](/ui-kit/android/upgrading-from-v5); the legacy tree is [v5](/ui-kit/android/v5/overview)                                        |

## When the UI Kit is not the answer — drop to the Chat SDK

The kit ships no component for some things (unread counts, webhooks, low-level presence and
connection, granular group management, ban/unban round-trips). Those are **SDK** calls — the SDK is
already installed underneath the kit and `init`/`login` already use it. Never hand-roll, and never
guess a method name:

* **Android Chat SDK v5 — scoped LLM index:** [llms-android-v5](/sdk/android/v5/llms-android-v5)
* ⚠️ **URL trap:** v5 SDK pages are VERSIONED — `/sdk/android/v5/<page>`. The unversioned
  `/sdk/android/<page>` tree is **v4**; never read it for a v6 UI Kit build.

## Feature switched on OUTSIDE the app — dashboard, extensions, AI

These pages are **not** under `ui-kit/android`, and a feature will not work without them however
correct the client code is. This is the commonest dead end: the component renders, and nothing
happens, because the extension was never enabled.

* Start here: [Extensions overview](/fundamentals/extensions-overview) · [Key concepts](/fundamentals/key-concepts)
* **Message extensions:** [Polls](/fundamentals/polls) · [Stickers](/fundamentals/stickers) · [Collaborative whiteboard](/fundamentals/collaborative-whiteboard) · [Collaborative document](/fundamentals/collaborative-document) · [Link preview](/fundamentals/link-preview) · [Message translation](/fundamentals/message-translation) · [Thumbnail generation](/fundamentals/thumbnail-generation)
* **AI (user copilot):** [Overview](/fundamentals/ai-user-copilot/overview) · [Smart replies](/fundamentals/ai-user-copilot/smart-replies) · [Conversation starter](/fundamentals/ai-user-copilot/conversation-starter) · [Conversation summary](/fundamentals/ai-user-copilot/conversation-summary)
* **AI agents:** [AI agents](/ai-agents) — pair with the UI-Kit [AI agent guide](/ui-kit/android/guide-ai-agent)
* **Moderation / profanity:** [Moderation extensions](/fundamentals/moderation-extensions) · [Overview](/moderation/overview) · [Getting started](/moderation/getting-started) · [Rules](/moderation/rules-management) · [Lists](/moderation/lists-management) · [Flagged messages](/moderation/flagged-messages)

## Push notifications (Android)

The UI Kit renders nothing for push — it is a dashboard + FCM + service integration.

* [Push overview](/notifications/push-overview) · [**Android push notifications**](/notifications/android-push-notifications) · [Badge count](/notifications/badge-count) · [Limits](/notifications/constraints-and-limits) · [Notification extensions](/fundamentals/notification-extensions)

## Campaigns, auth & webhooks

* **Campaigns / announcements:** [Campaigns](/campaigns/campaigns) · [Templates](/campaigns/templates) · [Channels](/campaigns/channels)
* **Auth & permissions:** [User auth](/fundamentals/user-auth) · [Roles & permissions](/fundamentals/user-roles-and-permissions) · [Mentions](/fundamentals/mentions)
* **Server-side hooks:** [Webhooks overview](/fundamentals/webhooks-overview) · [Call webhooks](/calls/webhooks) · [Ringing webhooks](/calls/webhooks-ringing)

## Migration & misc

* [Upgrading from v5 to v6](/ui-kit/android/upgrading-from-v5)
* [Sample App](/ui-kit/android/link/sample)
* [Figma Design File](/ui-kit/android/link/figma)
* [Changelog](/ui-kit/android/link/changelog)
