Modify Android and iOS adapters to handle null items sources (#4536) fixes #4366
authorE.Z. Hart <hartez@users.noreply.github.com>
Thu, 29 Nov 2018 13:03:21 +0000 (06:03 -0700)
committerRui Marinho <me@ruimarinho.net>
Thu, 29 Nov 2018 13:03:21 +0000 (13:03 +0000)
commite6af1a513c045af6b50fb6b2a74963fbccd80cf2
tree81e9b42cded8a5f57b598028d72f006effbccfd8
parent4975d0cb85f8d4857c5d96702d12fb4dabc9e9f8
Modify Android and iOS adapters to handle null items sources (#4536) fixes #4366

* Modify Android and iOS adapters to handle null items sources; fixes #4366

* Correct behavior for EmptySource indexer on iOS
12 files changed:
Xamarin.Forms.Controls/GalleryPages/CollectionViewGalleries/EmptyViewGalleries/EmptyViewGallery.cs
Xamarin.Forms.Controls/GalleryPages/CollectionViewGalleries/EmptyViewGalleries/EmptyViewNullGallery.xaml [new file with mode: 0644]
Xamarin.Forms.Controls/GalleryPages/CollectionViewGalleries/EmptyViewGalleries/EmptyViewNullGallery.xaml.cs [new file with mode: 0644]
Xamarin.Forms.Controls/Xamarin.Forms.Controls.csproj
Xamarin.Forms.Platform.Android/CollectionView/EmptySource.cs [new file with mode: 0644]
Xamarin.Forms.Platform.Android/CollectionView/ItemsSourceFactory.cs
Xamarin.Forms.Platform.Android/Xamarin.Forms.Platform.Android.csproj
Xamarin.Forms.Platform.iOS/CollectionView/CollectionViewController.cs
Xamarin.Forms.Platform.iOS/CollectionView/CollectionViewRenderer.cs
Xamarin.Forms.Platform.iOS/CollectionView/EmptySource.cs [new file with mode: 0644]
Xamarin.Forms.Platform.iOS/CollectionView/ItemsSourceFactory.cs
Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj