Good day. I am planing a daily devotional app which will serve a data to users based on the current date. I prefer having by data in my home.ts file. My only issue is that i don’t know how to serve the data for each day while also giving the users the option to move to previous day and so on.
I will appreciate you kind assistance.
my json data will look like
{"date": "22-01-2018", "data": "this is where the data will go"},
{"date": "23-01-2018", "data": "this is where the data will go"},
{"date": "24-01-2018", "data": "this is where the data will go"},
{"date": "25-01-2018", "data": "this is where the data will go"},