AvatarImageLoaderFactory

class AvatarImageLoaderFactory(context: Context, builder: ImageLoader.Builder.() -> Unit) : ImageLoaderFactory

An ImageLoader factory to provide an instance of the ImageLoader.

AvatarImageLoaderFactory creates a default ImageLoader that has caching strategy with OkHttp, image decoder (supports GIFs), and AvatarFetcher.

Constructors

Link copied to clipboard
fun AvatarImageLoaderFactory(context: Context, builder: ImageLoader.Builder.() -> Unit = {})

Functions

Link copied to clipboard
open override fun newImageLoader(): ImageLoader

Creates a new ImageLoader to load Avatar image data.