Package io.getstream.avatarview.stream.integration

Types

Link copied to clipboard
class StreamAvatarBitmapFactory(context: Context) : AvatarBitmapFactory

A custom bitmap factory that extends AvatarBitmapFactory to implement Stream SDK's avatar bitmap style.

Functions

Link copied to clipboard
fun AvatarView.setChannelData(channel: Channel, errorPlaceholder: Drawable? = null)

Sets Channel to the AvatarView for loading images.

Link copied to clipboard
fun AvatarView.setUserData(user: User, errorPlaceholder: Drawable? = null)

Sets User to the AvatarView for loading image and online status.