My app includes a list of upcoming events.
Each items has a title, date, and time.
Instead of showing the date in each item in the list, I’d like to show a ‘date header’ followed by all the events for that date, then another ‘date header’ followed by that date’s events, etc. Something like this:
6 February
9AM Event
11AM Event
2PM Event
7 February
10AM Event
11AM Event
I think this is just a list, in chronological order, with some items in the list showing only the date, and other items showing the time and event name.
I know how to display all the time/name items in order. But how do I insert the date headers within that list?