Bug 56298 - Changing ListViews HasUnevenRows at runtime on iOS has no effect
Summary: Changing ListViews HasUnevenRows at runtime on iOS has no effect
Status: IN_PROGRESS
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.3.5
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-05-12 15:50 UTC by thomas
Modified: 2018-03-20 17:19 UTC (History)
4 users (show)

Tags: ac fr
Is this bug a regression?: ---
Last known good build:


Attachments
Repro56298 (283.04 KB, application/x-zip-compressed)
2017-06-20 15:09 UTC, Rui Marinho
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 for Bug 56298 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
IN_PROGRESS

Description thomas 2017-05-12 15:50:41 UTC
In our App we have a ListView that has to be able to Display either only one type of items where we need best scrolling performance so we set HasUnevenRows = false and set a fixed row height. Or two different ViewTypes with different row heights so we set HasUnevenRows = true in this case.

This works great on Android but on iOS setting HasUnevenRows = true after it was set "false" before has no effect at all which means all Rows are drawn with the same row height which looks pretty ugly in case of single row strings that are drawn with big gaps in between.
Comment 1 Rui Marinho 2017-05-15 16:12:59 UTC
Thank you for taking the time to submit the bug. We tried to reproduce the issue you reported but were unable given the description. If you could please attach a reproduction to the bug by starting with a clean Xamarin.Forms project and adding just the code necessary to demonstrate the issue, we would very much appreciate it.  
 
For your convenience, we have created some reproduction best practices viewable here: https://gist.github.com/jassmith/92405c300e54a01dcc6d
Comment 2 thomas 2017-05-16 09:25:51 UTC
Did you try to switch the setting back and forth between Fixed Rows and Uneven? At least in my App it doesn't. It work on Android but not on iOS
Comment 3 Rui Marinho 2017-06-20 15:09:12 UTC
Thanks i m able to reproduce
Comment 4 Rui Marinho 2017-06-20 15:09:50 UTC
Created attachment 23008 [details]
Repro56298
Comment 5 thomas 2017-06-26 09:54:26 UTC
Ah, great, so I don't need to create a repro project anymore.
Sorry, I was offline for some time
Comment 6 Samantha Houts [MSFT] 2018-03-20 17:19:25 UTC
https://github.com/xamarin/Xamarin.Forms/pull/2135