Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
In iOS, an ActivityIndicator, which is a ViewCell in a ListView, disappears when scrolling. When the ViewCell moves off the visible screen area and back in during scrolling, the indicator is no longer visible.
This has been reported before: https://forums.xamarin.com/discussion/62974/activityindicator-disappears-while-scrolling-in-the-listview
I have made a test project which shows this behaviour: https://github.com/KolibriDev/TestLayoutXaml
Note that this is only a problem in iOS - works in Droid and UWP.
I can confirm this issue.
At the moment, I can't figure out what's causing this. A workaround seems to be setting IsRunning to false and then true. Add this to GetCell of ListViewRenderer:
if ((cell as ViewCell).View is ActivityIndicator)
((cell as ViewCell).View as ActivityIndicator).IsRunning = false;
((cell as ViewCell).View as ActivityIndicator).IsRunning = true;
Of course, this is not even a hack. If the activity indicator is a child of another element or elements, then you'd need to recursively search for it.
Should be fixed on 2.3.5-pre1
Please upload a reproduction project displaying the issue when running on the 2.3.5-pre6 build.
fixed on version 2.3.5-pre6.
Verified on xamarin.form version 184.108.40.2066-pre6.
Hence marking this as verified.
ScreenCast link : https://www.screencast.com/t/lEP2M3gyPL