I am trying to display the weather app by hour yet my display is a small and I would like to only show the next six hours,
Just to make it more efficient
1: Fetch all the data first ( array size 48)
Loop every hour
2 Show the first six
3: Remove the first hour
Do I need to do the book keeping myself, or the JSON object has a feature of shift
I rather not to keep track of indexes and free memory as we go …