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.
Created attachment 15420 [details]
On Windows, a custom ListView subclass does not call its override CreateDefault() method. This means you cannot customize the default cell since none of the code in the method is ran. This happens in WinRT and UWP projects.
### Steps to Reproduce
1. Run the attached WP or UWP project
### Expected Results
The ListView should display three items with green backgrounds. You can run the Android project to see the expected result.
### Actual Results
The ListView displays a basic TextCell which is the built-in default.
### Regression Status
v18.104.22.16882 : Good
v22.214.171.12405 : Good
v126.96.36.19921 : Bad
v188.8.131.5229 : Bad
Should be fixed in 2.2.0-pre1
I have checked this issue with XF 184.108.40.206-pre4 and observed that this issue has been fixed. Now ListView display three items with green backgrounds.
This issue has been fixed hence I am closing this issue.
Re-opening as it appears this fix did not make it into the current stable version.
A customer is reporting that this issue is still present in the current stable version of Forms, 220.127.116.11, even though fix was present in 18.104.22.168-pre1 and 22.214.171.124-pre4, so perhaps somehow this fix got removed from the current stable?
OK, I confirmed that the attached test project does work with 126.96.36.199, so the customer noted in comment 3 above must be hitting something else.
Marking again as RESOLVED FIXED
Note: I tested both the UWP and the Windows 8.1 projects, and both worked as expected.