I need to display 10 images in 2 columns. I saw an ImageGallery.cs in XLabs but its incomplete, the renderers are 404.
The Images are in a List<Image>
which contains string imageURL
and other few properties. I thought about putting two ListView
side by side, but that just seems stupid.
I'm using ViewModel, hence I want to bind the list and not add them one by one
XLabs ImageGallery is working fine (links are outdated):
Android: https://github.com/XLabs/Xamarin-Forms-Labs/blob/master/src/Forms/XLabs.Forms.Droid/Controls/ImageGallery/ImageGalleryRenderer.cs
iOS: https://github.com/XLabs/Xamarin-Forms-Labs/blob/master/src/Forms/XLabs.Forms.iOS/Controls/ImageGallery/ImageGalleryRenderer.cs
BTW: It's better to use ObservableCollection instead of List.