Baseflow / Baseflow/LottieXamarin
Duration not set in Xamarin iOS
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 253
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I've created a AnimationView and would like to use the Duration property of the AnimationView after it's been created (in order to wait for the animation to complete) but it is always 0.
I checked the ViewRenderer and saw that there are some code there related to the Duration property that is commented. Is this a dead property? Is there any way to find out how long a animation is programmatically? I would prefer to have this information in the code than having to know how long an animation is beforehand.
Thanks!
Contributor guide
Research direction
Start by inspecting the iOS ViewRenderer code referenced in the issue, especially the commented Duration handling. Reproduce an AnimationView whose Duration remains 0 after creation, then verify the behavior with a focused test or sample showing whether the duration can be read and used to wait for completion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, ios
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100