Package 

Class MentionSuggestionItemKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit MentionSuggestionItem(User user, Function1<User, Unit> onMentionSelected, Modifier modifier, Function2<RowScope, User, Unit> leadingContent, Function2<RowScope, User, Unit> centerContent, Function2<RowScope, User, Unit> trailingContent) Represents the mention suggestion item in the mention suggestion list popup.
      • Methods inherited from class java.lang.Object

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

      • MentionSuggestionItem

        @Composable() final static Unit MentionSuggestionItem(User user, Function1<User, Unit> onMentionSelected, Modifier modifier, Function2<RowScope, User, Unit> leadingContent, Function2<RowScope, User, Unit> centerContent, Function2<RowScope, User, Unit> trailingContent)

        Represents the mention suggestion item in the mention suggestion list popup.

        Parameters:
        user - The user that will be used to autocomplete the mention.
        onMentionSelected - Handler when the user taps on an item.
        modifier - Modifier for styling.
        leadingContent - Customizable composable function that represents the leading content of a mention item.
        centerContent - Customizable composable function that represents the center content of a mention item.
        trailingContent - Customizable composable function that represents the trailing content of the a mention item.