loadAvatarPlaceholderBitmapBlocking

open fun loadAvatarPlaceholderBitmapBlocking(data: Any?, avatar: Avatar, @Px avatarSize: Int): Bitmap?

Loads a Bitmap with the avatar to represent the placeholder of the avatar in a suspending operation. This method will be executed if the previous image request failed.

This method takes precedence over loadAvatarPlaceholderBitmap if both are implemented.

Override this method only if you can't provide a suspending implementation, otherwise override loadAvatarPlaceholderBitmap instead.

Parameters

data

An image request model.

avatar

An Avatar data model which includes request model and avatar styles.

avatarSize

A specified avatar size.