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.
UICollectionViewController binds to
public override UICollectionViewCell GetCell(UICollectionView collectionView, NSIndexPath indexPath)
But not the SizeForItemAtIndexPath
public virtual SizeF SizeForItemAtIndexPath(UICollectionView collectionView, UICollectionViewLayout layout, NSIndexPath indexPath)
As far as I can see collectionView:layout:sizeForItemAtIndexPath: is defined on UICollectionViewDelegateFlowLayout, not UICollectionViewController.
I wonder why my UICollectionViewController gets called then. Is MT doing some magic in the background to set the delegate to this?
Do you have a sample?
I'll see if I can extract one out of the project I'm working on
Hello Nic, were you able to extract that test case?
No, I've not been able to isolate it, or been back into that bit of code for a while (will be in the next week or 2)
Close it, and I'll reopen if it proves to be a problem. I'm using UICollectionView in a few places without issue, so I suspect it might be PEBKAC
"reopen" => Make a new one. oops.