-
public final class MessageListOptionsConfiguration for the message list behavior.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegermessageLimitprivate final BooleanshowSystemMessagesprivate final MessageFooterVisibilitymessageFooterVisibilityprivate final BooleanenforceUniqueReactionsprivate final DateSeparatorHandlerdateSeparatorHandlerprivate final DateSeparatorHandlerthreadDateSeparatorHandlerprivate final MessagePositionHandlermessagePositionHandlerprivate final BooleanshowDateSeparatorInEmptyThreadprivate final BooleanshowThreadSeparatorInEmptyThreadprivate final BooleanthreadLoadOlderToNewer
-
Constructor Summary
Constructors Constructor Description MessageListOptions(Integer messageLimit, Boolean showSystemMessages, MessageFooterVisibility messageFooterVisibility, Boolean enforceUniqueReactions, DateSeparatorHandler dateSeparatorHandler, DateSeparatorHandler threadDateSeparatorHandler, MessagePositionHandler messagePositionHandler, Boolean showDateSeparatorInEmptyThread, Boolean showThreadSeparatorInEmptyThread, Boolean threadLoadOlderToNewer)
-
Method Summary
Modifier and Type Method Description final IntegergetMessageLimit()final BooleangetShowSystemMessages()final MessageFooterVisibilitygetMessageFooterVisibility()final BooleangetEnforceUniqueReactions()final DateSeparatorHandlergetDateSeparatorHandler()final DateSeparatorHandlergetThreadDateSeparatorHandler()final MessagePositionHandlergetMessagePositionHandler()final BooleangetShowDateSeparatorInEmptyThread()final BooleangetShowThreadSeparatorInEmptyThread()final BooleangetThreadLoadOlderToNewer()-
-
Constructor Detail
-
MessageListOptions
MessageListOptions(Integer messageLimit, Boolean showSystemMessages, MessageFooterVisibility messageFooterVisibility, Boolean enforceUniqueReactions, DateSeparatorHandler dateSeparatorHandler, DateSeparatorHandler threadDateSeparatorHandler, MessagePositionHandler messagePositionHandler, Boolean showDateSeparatorInEmptyThread, Boolean showThreadSeparatorInEmptyThread, Boolean threadLoadOlderToNewer)
- Parameters:
messageLimit- The number of messages to load in a single page.showSystemMessages- If we should show system message items in the list.messageFooterVisibility- The behavior of message footers in the list and their visibility.enforceUniqueReactions- Flag to enforce unique reactions or enable multiple from the same user.dateSeparatorHandler- Handler that determines when the date separators should be visible.threadDateSeparatorHandler- Handler that determines when the thread date separators should be visible.messagePositionHandler- Determines the position of the message inside a group.showDateSeparatorInEmptyThread- Configures if we show a date separator when threads are empty.showThreadSeparatorInEmptyThread- Configures if we show a thread separator when threads are empty.threadLoadOlderToNewer- Configures if the thread should load older messages to newer messages.
-
-
Method Detail
-
getMessageLimit
final Integer getMessageLimit()
-
getShowSystemMessages
final Boolean getShowSystemMessages()
-
getMessageFooterVisibility
final MessageFooterVisibility getMessageFooterVisibility()
-
getEnforceUniqueReactions
final Boolean getEnforceUniqueReactions()
-
getDateSeparatorHandler
final DateSeparatorHandler getDateSeparatorHandler()
-
getThreadDateSeparatorHandler
final DateSeparatorHandler getThreadDateSeparatorHandler()
-
getMessagePositionHandler
final MessagePositionHandler getMessagePositionHandler()
-
getShowDateSeparatorInEmptyThread
final Boolean getShowDateSeparatorInEmptyThread()
-
getShowThreadSeparatorInEmptyThread
final Boolean getShowThreadSeparatorInEmptyThread()
-
getThreadLoadOlderToNewer
final Boolean getThreadLoadOlderToNewer()
-
-
-
-