Baseflow / LottieXamarin

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

Lottie.Forms AnimationView on ListViewItem disappeared after page navigation #366

Open LITTOMA opened 2 years ago

LITTOMA commented 2 years ago

🐛 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: