Baseflow / Baseflow/LottieXamarin
Lottie.Forms AnimationView on ListViewItem disappeared after page navigation
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 253
- PR merge metrics
- No merged PRs in 30d
Description
## 🐛 Bug Report
AnimationView on ListViewItem disappeared after page navigation
### Expected behavior
AnimationView stay on the right place.
### Reproduction steps
1. Create a Xamarin.Forms project.
2. Add Lottie.Forms package.
3. In the MainPage.xaml, add a ListView.
4. In the ListView, add DataTemplate containing a Lottie AnimationView.
5. Add another page that can be navigated from the MainPage by any method.
6. Run the app. At the first time we can see the AnimationView. Then navigate to the second page and go back. The AnimationView just disappeared.
### Configuration
**Version:** 4.0.11
**Platform:**
- [x] :iphone: iOS
- [x] :monkey: Xamarin.Forms
- [ ] :robot: Android
- [ ] :checkered_flag: WPF
- [ ] :earth_americas: UWP
- [ ] :apple: MacOS
- [ ] :tv: tvOS
Contributor guide
Research direction
Start by reproducing the issue from MainPage.xaml with a ListView, DataTemplate, and AnimationView on iOS using Lottie.Forms 4.0.11. Compare the AnimationView before navigation and after returning from the second page; done means it remains visible in the expected list position after navigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100