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.
Listview scrolling getting stuck while I am using relative layout in viewcell. Earlier it was working fine, but I think because of updating nuget packages or Xamarin studio, this issue arised. (In Android)
Now while scrolling very first time in this case, Scrolling get stuck after some time it scrolls smooth.
Alternatively If i use Stack layout instead of relative layout, listview scrolls smooth, But i need relative layout.
Xamarin.forms : 188.8.131.52
Xamarin Studio Community
Version 6.3 (build 864)
Installation UUID: f9acdb29-2b13-4556-9887-824b8e4e0693
Mono 184.108.40.206 (2017-02/9667aa6) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 500000100
Version: 10.10.0.33 (Xamarin Studio Community)
Build date: 2017-05-05 18:11:38-0400
Version: 220.127.116.11 (Xamarin Studio Community)
Android SDK: /Users/abdul/Andoid-SDK-s/android-sdk-macosx
Supported Android versions:
4.4 (API level 19)
5.0 (API level 21)
6.0 (API level 23)
7.0 (API level 24)
7.1 (API level 25)
SDK Tools Version: 25.2.5
SDK Platform Tools Version: 25.0.4
SDK Build Tools Version: 24.0.3
Java SDK: /usr
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
Created attachment 22229 [details]
## Note to the Xamarin team
This sounds potentially related to Bug 56240? Perhaps once candidate builds are available that resolve Bug 56240, it would be good to have the reporter of this Bug 56562 check if those builds resolve this issue as well.
I've noticed the same issue. The RelativeLayout performance in a custom ViewCell of a ListView is virtually unusable on Android, but fine in iOS.
I already started writing up a ticket before I found this one, so I'm including my sample project as a 2nd data point.
Created attachment 22439 [details]
RelativeLayout Perf Issue Sample Project
In XfRelativeLayoutIssue\MainPage.cs it uses a RelativeLayout in a custom ViewCell of a ListView. When you run this on Android (API 22 anyway) the performance is virtually unusable.
I've tested both
And it seems the performance is fine. I believe based on the fix in https://bugzilla.xamarin.com/show_bug.cgi?id=56562#c2 that has resolved this issue. Thus I am marking this bug as a DUPLICATE of https://bugzilla.xamarin.com/show_bug.cgi?id=56240
Microsoft Visual Studio Enterprise 2017
Version 15.2 (26430.13) Release
Microsoft .NET Framework
Installed Version: Enterprise
Xamarin 18.104.22.1686 (fec6f88)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android SDK 22.214.171.124 (9dbc4c5)
Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK 10.10.0.37 (ad35de4)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
*** This bug has been marked as a duplicate of bug 56240 ***