AvatarCoil

object AvatarCoil

AvatarCoil provides a ImageLoader, AvatarBitmapFactory, and ImageHeadersProvider that can be fully customized for loading avatar image:

Properties

Link copied to clipboard
var imageHeadersProvider: ImageHeadersProvider

Provides a custom image header.

Functions

Link copied to clipboard
fun getAvatarBitmapFactory(context: Context): AvatarBitmapFactory
Link copied to clipboard
fun setAvatarBitmapFactory(avatarBitmapFactory: AvatarBitmapFactory?)

Sets a custom AvatarBitmapFactory.

Link copied to clipboard
fun setImageLoader(factory: ImageLoaderFactory)

Sets a ImageLoaderFactory to provide your own ImageLoader.