The view is displaying a list of events, and I wan...
# getting-started
a
The view is displaying a list of events, and I want them to be sectioned by date. So we'll have a view that says Friday, followed by the rows with Friday's events, then a row that reads "saturday", followed by its events, and so on. The data structure I'm currently storying this in is
Map<String, List<Event>>
so I have each day and its events in their own bucket. I know Friday is index 0, because it's the first key. Friday's first event would be index 1, and so on down the line. What I'm having trouble with is recreating this logic programatically. I don't want to have to walk my way from key -> values, key -> values each time to reach my position. Is that more clear?