-
public interface MessagePositionHandlerA handler to determine the position of a message inside a group.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMessagePositionHandler.Companion
-
Method Summary
Modifier and Type Method Description abstract MessagePositionhandleMessagePosition(Message previousMessage, Message message, Message nextMessage, Boolean isAfterDateSeparator, Boolean isBeforeDateSeparator, Boolean isInThread)Determines the position of a message inside a group. -
-
Method Detail
-
handleMessagePosition
abstract MessagePosition handleMessagePosition(Message previousMessage, Message message, Message nextMessage, Boolean isAfterDateSeparator, Boolean isBeforeDateSeparator, Boolean isInThread)
Determines the position of a message inside a group.
- Parameters:
previousMessage- The previous Message in the list.message- The current Message in the list.nextMessage- The next Message in the list.isAfterDateSeparator- If a date separator was added before the current Message.isBeforeDateSeparator- If a date separator was added after the current Message.isInThread- If the current Message is in a thread.
-
-
-
-