Package-level declarations
Functions
Link copied to clipboard
fun EmojiList(message: UikitBaseMessage, onEmojiClick: (emoji: UiKitEmoji, isAdded: Boolean) -> Unit, onEmojiMoreButtonClick: () -> Unit, isDetailDialog: Boolean, modifier: Modifier = Modifier, emojiItem: @Composable (emoji: UiKitEmoji, reaction: UiKitReaction?) -> Unit = { emoji, reaction ->
EmojiItem(
emoji = emoji,
reaction = reaction,
onEmojiClick = onEmojiClick
)
}, emojiMoreButton: @Composable (moreDrawable: Int) -> Unit = {
EmojiMoreButton(
moreDrawable = it,
onEmojiMoreButtonClick = onEmojiMoreButtonClick
)
})
A list of emoji reactions for a message.
Link copied to clipboard
fun EmojiListDialog(message: UikitBaseMessage, onEmojiClick: (UiKitEmoji, Boolean) -> Unit, onDismiss: () -> Unit, modifier: Modifier = Modifier, emojiList: @Composable () -> Unit = {
EmojiList(
message = message,
isDetailDialog = true,
onEmojiClick = { emoji, isAdded -> onEmojiClick(emoji, isAdded) },
onEmojiMoreButtonClick = { }
)
})
A dialog that displays a list of emojis for a message.
Link copied to clipboard
fun EmojiMoreButton(onEmojiMoreButtonClick: () -> Unit, modifier: Modifier = Modifier, moreDrawable: Int = R.drawable.icon_emoji_more)
Represents the more button in the emoji list.
Link copied to clipboard
fun EmojiReactedUserDialog(defaultReaction: UiKitReaction, reactions: List<UiKitReaction>, channel: UikitGroupChannel, onDismiss: () -> Unit, modifier: Modifier = Modifier, emojiReactionCountItem: @Composable (UiKitReaction) -> Unit = { reaction ->
EmojiReactionCountItem(
reaction = reaction,
modifier = Modifier.padding(8.dp)
)
}, emojiReactedUserList: @Composable (List<UikitUser>) -> Unit = { userList ->
EmojiReactedUserList(
userList = userList
)
})
Represents a dialog that displays the list of users who reacted to a message with a specific emoji.
Link copied to clipboard
Displays the user who reacted to a message with a specific emoji.
Link copied to clipboard
fun EmojiReactedUserList(userList: List<UikitUser>, modifier: Modifier = Modifier, emojiReactedUserItem: @Composable (UikitUser) -> Unit = { userInfo ->
EmojiReactedUserItem(user = userInfo)
})
Displays a list of users who reacted to a message with a specific emoji.
Link copied to clipboard
fun EmojiReactionCountItem(reaction: UiKitReaction, modifier: Modifier = Modifier, maxDisplayCount: Int = 99)
Displays the emoji reaction with the count of users who reacted to a message.
Link copied to clipboard
fun EmojiReactionList(message: UikitBaseMessage, useMoreButton: Boolean, onEmojiReactionClick: (UikitBaseMessage, String, Boolean) -> Unit, onEmojiReactionLongClick: (UikitBaseMessage, UiKitReaction) -> Unit, onEmojiReactionMoreButtonClick: (UikitBaseMessage) -> Unit, modifier: Modifier = Modifier, emojiReactionItem: @Composable (UiKitReaction) -> Unit = { reaction ->
EmojiReactionItem(
reaction = reaction,
onEmojiClick = { emojiKey, isAdded ->
onEmojiReactionClick(message, emojiKey, isAdded)
},
onEmojiLongClick = {
onEmojiReactionLongClick(message, it)
},
)
}, emojiReactionMoreButton: @Composable () -> Unit = {
EmojiReactionMoreButton(onEmojiMoreClick = {
onEmojiReactionMoreButtonClick(message)
})
})
A list of emoji reactions for a message.
Link copied to clipboard
Represents the emoji reaction more button.