Package 

Class UserAvatarRowKt

    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 the
        shape - 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.