Hello all!
I am developing my first android app and need a little bit of help. I am creating a recipes page and I would like to have a Favorites button on it. I would like the user to be able to click the favorites button while they are viewing a recipe and have it added to the favorites page. However when the user clicks the button I would like them to be able to continue viewing that recipes page instead of moving to the favorites page.
I found out how to use intent to send data to another activity while changing the page. However I would not like the page to change.
I'm assuming I would be passing a button to the activity to do this(is there a better way?)
Thanks for all the help in advance!