From the course: .NET MAUI: Beyond the Basics
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Solution: Working with collections - .NET MAUI Tutorial
From the course: .NET MAUI: Beyond the Basics
Solution: Working with collections
- For the chapter two challenge we're going to take a look at how I solve this problem. Everything I did, I did in the collection view page. Here we can see a collection view. While it wasn't explicitly called out in the instructions, I turned off selecting the cells, as there's no functionality behind that. We need to continue to load the list as the user scrolled, so I set the remaining items threshold to 50. When that number of records is left to be shown, then it will attempt to get more records. That's the remaining threshold reach command, so that's this binding more data command. And we also have it being grouped, so that we have groups of of the letters, starting with A, B, C, and also we set the items layout equal to a vertical grid, with three items across. Under this, we need to set up two main sections. The group header template, which we can see here. And this is the group header that will show the first…
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
-
-
-
-
-