Class DefaultMessageOptionItemsFactory

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • DefaultMessageOptionItemsFactory

        DefaultMessageOptionItemsFactory(Context context)
        Parameters:
        context - The context to load resources.
    • Method Detail

      • createMessageOptionItems

         List<MessageOptionItem> createMessageOptionItems(Message selectedMessage, User currentUser, Boolean isInThread, Set<String> ownCapabilities, MessageListViewStyle style)

        Creates MessageOptionItems for the selected message.

        Parameters:
        selectedMessage - The currently selected message.
        currentUser - The currently logged in user.
        isInThread - If the message is being displayed in a thread.
        ownCapabilities - Set of capabilities the user is given for the current channel.
        style - The style to be applied to the view.
        Returns:

        The list of message option items to display.