[Android, iOS] Item Spacing for CollectionView (#6478) fixes #4681
authorE.Z. Hart <hartez@users.noreply.github.com>
Thu, 13 Jun 2019 18:17:10 +0000 (12:17 -0600)
committerRui Marinho <me@ruimarinho.net>
Thu, 13 Jun 2019 18:17:10 +0000 (19:17 +0100)
commit216e565b0762577ee581c616c872abdba21ba05c
tree44dbb31fb951f9a5f4be4578adfe1181f2c3d594
parent22e042f29975920d6b3e9082d9504a0bb901d928
[Android, iOS] Item Spacing for CollectionView (#6478) fixes #4681

* First pass at item spacing for CollectionView ListItemsLayout on Android

* Handle GridItemsLayout spacing on Android

* Change spacings from int -> double
Implement spacing on iOS

* Remove old TODO comment
13 files changed:
Xamarin.Forms.Controls/GalleryPages/CollectionViewGalleries/CollectionViewGallery.cs
Xamarin.Forms.Controls/GalleryPages/CollectionViewGalleries/ExampleTemplates.cs
Xamarin.Forms.Controls/GalleryPages/CollectionViewGalleries/SpacingGalleries/ItemsSpacingGallery.cs [new file with mode: 0644]
Xamarin.Forms.Controls/GalleryPages/CollectionViewGalleries/SpacingGalleries/SpacingGallery.cs [new file with mode: 0644]
Xamarin.Forms.Controls/GalleryPages/CollectionViewGalleries/SpacingGalleries/SpacingModifier.cs [new file with mode: 0644]
Xamarin.Forms.Controls/GalleryPages/GalleryBuilder.cs
Xamarin.Forms.Core/Items/GridItemsLayout.cs
Xamarin.Forms.Core/Items/ListItemsLayout.cs
Xamarin.Forms.Platform.Android/CollectionView/ItemsViewRenderer.cs
Xamarin.Forms.Platform.Android/CollectionView/SpacingItemDecoration.cs [new file with mode: 0644]
Xamarin.Forms.Platform.Android/Xamarin.Forms.Platform.Android.csproj
Xamarin.Forms.Platform.iOS/CollectionView/GridViewLayout.cs
Xamarin.Forms.Platform.iOS/CollectionView/ItemsViewLayout.cs