Package 

Interface MessagePositionHandler

    • Method Summary

      Modifier and Type Method Description
      abstract List<MessagePosition> handleMessagePosition(Message previousMessage, Message message, Message nextMessage, Boolean isAfterDateSeparator, Boolean isBeforeDateSeparator, Boolean isInThread) Determines the position of a message inside a group.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • handleMessagePosition

         abstract List<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.