[iOS] Implement ItemSizingStrategy hint property for CollectionView (#5094)
authorE.Z. Hart <hartez@users.noreply.github.com>
Mon, 4 Feb 2019 12:38:38 +0000 (05:38 -0700)
committerRui Marinho <me@ruimarinho.net>
Mon, 4 Feb 2019 12:38:38 +0000 (12:38 +0000)
commit86054cd085d9d3761391aeca487f15f22c721ae9
tree5dee345d98bf5288ec5f7a9242d388bf5bbcf1ed
parentbc3c9ef4eac9a40d4016eba0e5e6ac285b9359ff
[iOS] Implement ItemSizingStrategy hint property for CollectionView (#5094)

* Add ItemSizingStrategy to CollectionView in Core;
Create test harness for changing ItemSizingStrategy;
Handle ItemSizingStrategy and ItemSizingStrategy changes on iOS;

* Update test bed to better illustrate changes

* No need for DetermineCellSize to be internal

* Conserve precious bits by removing `private` modifier

partially implements #3172
Xamarin.Forms.Controls/GalleryPages/CollectionViewGalleries/DataTemplateGallery.cs
Xamarin.Forms.Controls/GalleryPages/CollectionViewGalleries/ExampleTemplates.cs
Xamarin.Forms.Controls/GalleryPages/CollectionViewGalleries/VariableSizeTemplateGridGallery.cs [new file with mode: 0644]
Xamarin.Forms.Core/Items/ItemSizingStrategy.cs [new file with mode: 0644]
Xamarin.Forms.Core/Items/ItemsView.cs
Xamarin.Forms.Platform.iOS/CollectionView/ItemsViewController.cs
Xamarin.Forms.Platform.iOS/CollectionView/ItemsViewLayout.cs
Xamarin.Forms.Platform.iOS/CollectionView/ItemsViewRenderer.cs