From the course: .NET MAUI: Beyond the Basics
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Challenge: Working with collections - .NET MAUI Tutorial
From the course: .NET MAUI: Beyond the Basics
Challenge: Working with collections
- [Instructor] Now let's try testing what you learned in this chapter. In the video start code there's a view model called page collection view models. So let's open that up. And in this is a property called names. And this returns to the first 500 names of the data source. The structure of the nameless class it returns, is a collection of all names starting with each letter. So there's a collection starting with A, one with B, one with C, et cetera. However, these are not loaded all at once. There's a property called more data command. And if we scroll down this we can see this right here, more data command. This returns a command to load more data into the names collection. It automatically handles sorting the data into the proper grouping by first letter of the name. Here we have a post screen design. In it we see there's a collection view that is grouped by letter of the first name. It scrolls and is laid out in a…
Contents
-
-
-
-
Differences in these controls2m 53s
-
(Locked)
Controlling layouts with the CollectionView5m 51s
-
(Locked)
Collapsing groups with the CollectionView11m 35s
-
(Locked)
Dealing with large lists3m 58s
-
(Locked)
Creating a CollectionView with dynamic data loading5m 46s
-
(Locked)
Challenge: Working with collections1m 39s
-
(Locked)
Solution: Working with collections2m 3s
-
-
-
-
-