Hello, I am currently building a news app… kinda like Instagram but for news specifically but I can’t figure out how to sort out the news feed correctly.
I used the date/time event but again it has some drawbacks-
- the same news will be shown at the top of the user’s feed until any new news is added and the user will have to scroll down again to read the news they missed.
- there might be some old news that the user hasn’t read yet but wants to.
so instead I want to display the news that hasn’t been viewed by the current user at the top of his feed and hide the viewed ones or show them at the bottom.
but I am unable to do so… Any help regarding this would be welcomed. Thanks