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

Repeatmode Infinite Compilation error #310

Closed sjorsmiltenburg closed 3 years ago

sjorsmiltenburg commented 3 years ago

https://github.com/Baseflow/LottieXamarin/issues/305 mentions the use of RepeatCount="Infinite"

But when I use this value I get the following compilation error "Invalid value for property 'RepeatCount': 'Infinite'

Is this a supported value? and if so how do I make my error dissapear?

martijn00 commented 3 years ago

Please fill out a proper issue template with more detail

sjorsmiltenburg commented 3 years ago

my bad, i read repeatCOUNT= infinite, it was repeatMODE = infinite

sjorsmiltenburg commented 3 years ago

i guess it had to do with the comment in the enum RepeatMode.cs which is suggestive this is possible

/// When the animation reaches the end and RepeatCount is Infinite or a positive value, the animation reverses direction on every iteration.