getMessageBubbleShape
fun getMessageBubbleShape(cornerRadius: ERROR CLASS: Symbol not found for Dp, isSender: Boolean, hasSamePrev: Boolean = false, hasSameNext: Boolean = false): ERROR CLASS: Symbol not found for CornerBasedShape(source)
Returns a CornerBasedShape for a message bubble based on its position in a sequence.
Parameters
cornerRadius
The base corner radius for the bubble.
isSender
Whether the message was sent by the local user.
hasSamePrev
Whether the previous message in the list is from the same sender.
hasSameNext
Whether the next message in the list is from the same sender.