BindableLayout turns any layout into an item repeater in Xamarin.Forms
David Ortinau
Posted on January 12, 2021
When you need to quickly display a set of data, especially when the items are small and don't require virtualization, then with BindableLayout
and the associated attached properties you can turn any layout into an item repeater. This is not only ideal for small sets of data content that is usually display only, but also when your UX doesn't require any of the bells and whistles provided by other controls such as CollectionView, CarouselView, or ListView.
My custom layout used here is a modified version of the UniformGrid in Xamarin Community Toolkit. It simply (crudely?) displays a uniform grid with priority given to the orientation and count provided.
Resources:
davidortinau / Xappy
A mobile app to track Xamarin news and explore all the goodness that is .NET for Mobile developers
Posted on January 12, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
November 11, 2022