-
public class ImageAssetManager
-
-
Field Summary
Fields Modifier and Type Field Description private ImageAssetDelegatedelegate
-
Constructor Summary
Constructors Constructor Description ImageAssetManager(Drawable.Callback callback, String imagesFolder, ImageAssetDelegate delegate, Map<String, LottieImageAsset> imageAssets)
-
Method Summary
Modifier and Type Method Description voidsetDelegate(@Nullable() ImageAssetDelegate assetDelegate)BitmapupdateBitmap(String id, @Nullable() Bitmap bitmap)Returns the previously set bitmap or null. LottieImageAssetgetImageAssetById(String id)BitmapbitmapForId(String id)booleanhasSameContext(Context context)-
-
Constructor Detail
-
ImageAssetManager
ImageAssetManager(Drawable.Callback callback, String imagesFolder, ImageAssetDelegate delegate, Map<String, LottieImageAsset> imageAssets)
-
-
Method Detail
-
setDelegate
void setDelegate(@Nullable() ImageAssetDelegate assetDelegate)
-
updateBitmap
@Nullable() Bitmap updateBitmap(String id, @Nullable() Bitmap bitmap)
Returns the previously set bitmap or null.
-
getImageAssetById
@Nullable() LottieImageAsset getImageAssetById(String id)
-
bitmapForId
@Nullable() Bitmap bitmapForId(String id)
-
hasSameContext
boolean hasSameContext(Context context)
-
-
-
-