setDateSeparatorHandler

fun setDateSeparatorHandler(dateSeparatorHandler: DateSeparatorHandler?)

Sets the date separator handler which determines when to add date separators. By default, a date separator will be added if the difference between two messages' dates is greater than 4h.

Parameters

dateSeparatorHandler

The handler to use. If null, _messageListState won't contain date separators.