setUserData
fun AvatarView.setUserData(user: User, errorPlaceholder: Drawable? = null)
Content copied to clipboard
Sets User to the AvatarView for loading image and online status.
Parameters
user
The User model of the Stream SDK.
errorPlaceholder
An error placeholder that should be shown when request failed.