From 3c18a37815c6ab5169db81a3187659cfc557fd7b Mon Sep 17 00:00:00 2001 From: AmirHosseinAghajari <30867537+Aghajari@users.noreply.github.com> Date: Fri, 5 Feb 2021 17:25:44 +0330 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 49af4b7..d4bdda6 100644 --- a/README.md +++ b/README.md @@ -367,6 +367,16 @@ AXrLottie.addFileExtension(new GZipFileExtension(".tgs")); ## [AXrLottieGlideDecoder](https://github.com/Aghajari/AXrLottie/wiki/AXrLottieGlideDecoder) [AXrLottieGlideDecoder](https://github.com/Aghajari/AXrLottie/wiki/AXrLottieGlideDecoder) is a [Glide](https://github.com/bumptech/glide) integration library for displaying AXrLottieDrawable. +Example : +```java +Glide.with(this) + .load(Uri.parse("file:///android_asset/loader.json")) + .set(AXrLottieGlideOptions.ENABLED, true) + .set(AXrLottieGlideOptions.NAME, "loader.json") + .set(AXrLottieGlideOptions.NETWORK, false) + .into(imageView); +``` + [Back to contents](#table-of-contents) ## AnimatedSticker - AXEmojiView