July 5, 2021, 12:41pm
I currently have a “home feed” of events (listed from oldest to newest). I’d like to split these up into days, so the user could see Today’s Events, Tomorrow, 7th July, 8th July etc etc with a header splitting up these. For example:
Monday 5th July
Friday 9th July
Does anyone have any advice?
Yeah- you just have several copies of the same list of events each one filtered accordingly.
[(list of events) where date = today]
[(list of events) where date = yesterday]
If you’re feeling clever you can make the days a list too. So you would have a list of days, each of which contains a list of events filtered on that day.
July 5, 2021, 1:11pm
Genius! Thank you so much. I’ve been trying to get my head around this for ages!
July 15, 2021, 1:12pm
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.