-
- All Implemented Interfaces:
-
coil.ImageLoaderFactory
public final class AvatarImageLoaderFactory implements ImageLoaderFactoryAn 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.
-
-
Constructor Summary
Constructors Constructor Description AvatarImageLoaderFactory(Context context, Function1<ImageLoader.Builder, Unit> builder)
-
Method Summary
Modifier and Type Method Description ImageLoadernewImageLoader()Creates a new ImageLoader to load Avatar image data. -
-
Method Detail
-
newImageLoader
ImageLoader newImageLoader()
Creates a new ImageLoader to load Avatar image data.
-
-
-
-