What problem does it solve?
This Skill helps you implement efficient, data-driven CollectionView interfaces in .NET MAUI so your apps can display scrollable lists and grids reliably with correct templates, selection, grouping, and empty/loading states.
Core Features & Use Cases
- Data display with templates: Bind ItemsSource to a collection and render each item with a DataTemplate (without using ViewCell) for better performance and maintainable UI.
- Layouts for lists and grids: Switch between VerticalList/HorizontalList and GridItemsLayout configurations (including spacing and spans) for tailored presentation.
- Interaction patterns: Enable selection modes, group headers, swipe actions, headers/footers, scrolling behaviors, pull-to-refresh, and incremental loading for a complete user experience.
- Empty state handling: Provide EmptyView (including custom EmptyView wrapped in ContentView) to gracefully handle no-data scenarios.
Quick Start
Implement a .NET MAUI CollectionView bound to an ObservableCollection with an ItemTemplate and a supported ItemsLayout (for example VerticalList or a GridItemsLayout) while avoiding ViewCell.