MessageFooterVisibility

Intended to be used for regulating the visibility of a single message footer visibility.

Inheritors

Types

Link copied to clipboard

The message footer will be visible for every message.

Link copied to clipboard

The message footer will only be visible to items that are last in group.

Link copied to clipboard

The message footer will never be visible.

Functions

Link copied to clipboard
fun MessageFooterVisibility.shouldShowMessageFooter(message: Message, isLastMessageInGroup: Boolean, nextMessage: Message?): Boolean

Decides if we need to show the message footer (timestamp) below the message.