Baseflow / LottieXamarin

Render After Effects animations natively on Android, iOS, MacOS and TvOS for Xamarin
https://baseflow.com
Apache License 2.0
1.22k stars 261 forks source link

Create a Source property on AnimationView that loads the json from embedded resources #295

Closed softlion closed 3 years ago

softlion commented 3 years ago

🚀 Feature Requests

Xamarin is about not duplicating code and files.

Instead of copying the json file to the native resources of ios/android, it would be nice to have them load from a stream, from .net embedded resources.

Platforms affected (mark all that apply)

martijn00 commented 3 years ago

This is already possible on Forms. Can you make some extension methods and a PR if you want it different?

softlion commented 3 years ago

There is nothing about that in the doc? How it works ?

softlion commented 3 years ago

In fact there is no AnimationSource property in Lottie.

softlion commented 3 years ago

XF.Material is not referencing the latest lottie nuget ...

martijn00 commented 3 years ago

Sure? I thought i updated it recently.