Day 24: Banish Boredom
So far we have made half the app, we can click "Love it", refresh the page, see a new activity and the saved ones.
Tomorrow we will look at:
- Deleting activities
- Making the UI update when we press "Love it"
Before wrapping up for the day, lets do some minor house keeping.
onBoredClicked is called in 4 places and with that name only one of them makes sense. Please re-name it
fetchNewActivity BUT make it so that the function called when the 'BORED' button is clicked is still called
onBoredClicked - this will require you to make a new function called
fetchNewActivity and call that from within