Chat UIKit Android View v2
Chat UIKit Android View
Chat UIKit
Android View
Version 2
Sendbird Chat UIKit v2 for Android View is no longer supported as a new version is released. Check out our latest Chat UIKit v3

Unread message counts

Copy link

Unread message counts is a feature that informs users the number of messages they haven’t read in each channel. The unread message count appears in the channel list region of the ChannelListFragment class. The number of unread messages per channel is displayed below the timestamp of the last received message. If the message count exceeds 100, it will show as 99+.

Note : In order to use the unread message counts feature, you must first build a channel list-based service and get a channel list view. To learn how to display channel list view, refer to the List channels page.

Customize the UI for unread message counts

Copy link

The UI for unread message counts can be customized through StringSet. The StringSet is a set of strings used to compose the screen. It’s a res/strings.xml file containing UIKit-defined string values.

<resources>
    <string name="sb_text_channel_list_unread_count_max">99+</string>
</resources>