package com.airbnb.lottie;

import android.graphics.Bitmap;

/**
 * Delegate to handle the loading of bitmaps that are not packaged in the assets of your app.
 *
 * @see LottieDrawable#setImageAssetDelegate(ImageAssetDelegate)
 */
public interface ImageAssetDelegate {
  Bitmap fetchBitmap(LottieImageAsset asset);
}

@@ -52,16 +52,53 @@
 .Bitmap;
+%0Aimport androidx.annotation.Nullable;
 %0A%0A/**%0A *
@@ -301,16 +301,26 @@
 ate %7B%0A  
+@Nullable 
 Bitmap f

Annotate fetchBitmap as @Nullable (#1037)