-
public final class UserAvatarRowKt
-
-
Method Summary
Modifier and Type Method Description final static UnitUserAvatarRow(List<User> users, Modifier modifier, Integer maxAvatarCount, Dp size, Integer offset, Shape shape, TextStyle textStyle, String contentDescription, DpOffset initialsAvatarOffset, Function0<Unit> onClick)Represents the User avatar that's shown on the Messages screen or in headers of DMs. -
-
Method Detail
-
UserAvatarRow
@Composable() final static Unit UserAvatarRow(List<User> users, Modifier modifier, Integer maxAvatarCount, Dp size, Integer offset, Shape shape, TextStyle textStyle, String contentDescription, DpOffset initialsAvatarOffset, Function0<Unit> onClick)
Represents the User avatar that's shown on the Messages screen or in headers of DMs.
Based on the state within the User, we either show an image or their initials.
- Parameters:
users- The list of users whose avatar we want to show.modifier- Modifier for styling.maxAvatarCount- The maximum count for displaying the avatar row.size- The size of each user avatar.offset- The offset of theshape- The shape of the avatar.textStyle- The TextStyle that will be used for the initials.contentDescription- The content description of the avatar.initialsAvatarOffset- The initials offset to apply to the avatar.onClick- The handler when the user clicks on the avatar.
-
-
-
-