@WorkerThread
  public static LottieResult<LottieComposition> fromZipStreamSync(@Nullable Context context, ZipInputStream inputStream,
      @Nullable String cacheKey, boolean close) {
    try {
      return fromZipStreamSyncInternal(context, inputStream, cacheKey);
    } finally {
      if (close) {
        closeQuietly(inputStream);
      }
    }
  }
Parses a zip input stream into a Lottie composition.
Your zip file should just be a folder with your json file and images zipped together.
It will automatically store and configure any images inside the animation if they exist.

@param context is optional and only needed if your zip file contains ttf or otf fonts. If yours doesn't, you may pass null.
               Embedded fonts may be .ttf or .otf files, can be in subdirectories, but must have the same name as the
               font family (fFamily) in your animation file.
lottie/src/main/java/com/airbnb/lottie/LottieCompositionFactory.java