The "Details about event" bit will more than likely end up on its own page / not in the list, but the rest of them, they'll be a "simple" list view.
Problem occurs here. At startup, the app connects to my server, and only then queries for sports. I've followed the "hack" here -> https://www.syncfusion.com/kb/8491/how-to-display-group-header-without-items-and-add-items-in-the-group-at-run-time about how to show group headers in a list, when you've no items.
That works without a problem when you've only 1 tier, but when you've multiple tiers like this (Sport - Competition - Event), it gets messy.
Basically at startup, when I get the sports, I don't have all the definitions for each competition for each sport, and the way the backend works, I don't want it to, either. I have it working so that when you tap the sport, it shows a small loading bar, and then queries the backend for all competitions for that sport. And as you'd expect, when you tap the competition, you get all its events, when you tap the event, you get all its details / go to a new page for that event.
I have all the tap / load stuff working right, and I nearly have the list view working basically how I want, except for one issue. When I add my "dummy" sports, for the sport group headers, they have "Competition" set to "". When I add my "dummy" competitions, for the competition group headers, they have "Event" set to "".
What that ends up like is attached. When you expand a sport, it shows the competitions correctly, but then also shows a blank header, for the dummy sport item, which had Competition set to "". When you expand a competition, you get the same again, a blank header for the dummy competition item, which had Event set to "".
I have now tried absolutely everything to stop this from happening, but no matter what I try (including some painful hacks with reflection), I can't get this working right.
My main point / question is, can I either very specifically state what are the group headers, and that's it, no more are automatically created, *or* can I prevent any blank headers from being added / shown, headers with GroupResults where they key is ""?