lottie-flutter
lottie-flutter copied to clipboard
tgs lottie very slow on android
i load tgs file in GridView.in windows ok but in android very slow.
i used 3.0.0-alpha.4.
this is my code.
Widget loadtgs(String imageUrl, double size) { return Lottie.network( imageUrl, decoder: LottieComposition.decodeGZip, width: size, height: size, filterQuality: FilterQuality.low, repeat: false, backgroundLoading: true, renderCache: RenderCache.raster, animate: false); }
i attached the video.
https://github.com/xvrh/lottie-flutter/assets/20619476/41ea41e2-2603-40df-bcc6-f03a4971b778
in android(not flutter) i test rlottie.it is more powerfull than lottie. rlottie is a platform independent standalone c++ library for rendering vector based animations and art in realtime. this is link of rlottie
Can you post the link to the tgs file?
I'm not sure I understand the comment about rlottie? Do you mean a native Android app with rlottie is more performant than a Flutter app and this library on the same phone? How does it compare to the normal Android Lottie library?
hear files. tgs.zip
this video is rlottie.it is very fast.befor i use rlottie i used lottie it was very slow.telegram also use rlottie(link).
https://github.com/xvrh/lottie-flutter/assets/20619476/c8c1dcdf-515e-4852-b7e5-73ecffc14e7c
How can someone use rlottie (c++) on Android? Is there an example somewhere?
you can use AXrLottie for android .
Is it possible to use rlottie in flutter?