This is beta documentation for Stream Chat Android SDK v7. For the latest stable version, see the latest version (v6) .

State Overview

The client library provides a built-in state layer that manages the chat state, such as channels, messages and users. You can use it directly in case you want to build your own UI layer for the chat.

Both our XML UI Components and Jetpack Compose UI Components use the state layer internally. This way we are able to share common functionality across both our UI components libraries and increase performance and stability with every release.

Additionally, the state layer ensures that the data is synchronized when executing actions directly from the low-level client.