Class MessageViewStyle

  • All Implemented Interfaces:
    io.getstream.chat.android.ui.helper.ViewStyle

    
    public final class MessageViewStyle<T extends ViewStyle>
     implements ViewStyle
                        

    Styles container for a view that is used to display a message.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final T own
      private final T theirs
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final T getOwn()
      final T getTheirs()
      • Methods inherited from class java.lang.Object

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

      • MessageViewStyle

        MessageViewStyle(T own, T theirs)
        Parameters:
        own - Style for messages sent by the current user.
        theirs - Style for messages sent by other users.