Hello, so i made a quotes app that generates quotes from Firebase database when you press “Quotes” button and you can also press the heart button to add the curent quote on another firebase database that contains the favorites quotes. How can i make the heart button red when pressed and when i regenerate the same quote, the button still red?
And also, in the “Favorites quotes” screen, how can i remove a quote from the screen and from the firebase dadtabase when long-click on a quote?