setChannelData

fun AvatarView.setChannelData(channel: Channel, errorPlaceholder: Drawable? = null)

Sets Channel to the AvatarView for loading images.

Parameters

channel

A Channel model of the Stream SDK.

errorPlaceholder

An error placeholder that should be shown when request failed.