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.
# Steps to reproduce
- Get a sample ListView app with a custom ViewCellRenderer for the cells on Android
- In the ViewCellRenderer, set the visibility of one of the controls in the cell to Gone and call ForceUpdateSize on the cell.
# Expected behaviour
The cell should shrink since a control has been hidden. This was perfectly fine in Xamarin.Forms 2.1
# Actual behaviour
The cell does not shrink and stays the same size
# Supplemental info (logs, images, videos)
# Test environment (full version information)
Android 6.0 - Google Nexus 5X
It's basically behaving as if I set it to "Invisible" rather than "Gone". It might be because Xamarin.Forms 2.2 updates Android libraries to 23.3.0
I can reproduce the actual behavior you described in 2.2+, but I don't see the expected behavior you described in 2.1. Do you have a small reproduction project you can provide that shows the distinction?
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!