Good Day,
I have the app with SQLite database.
There are two tables in database the first called main the second favorites.I have a recyclerView which displays all items from main table.
Also I have a button in each recyclerView item, and I would like to duplicate certain item from main table to favorites by onClick.
I have an idea to make some flag in main table and copy all items with flag, but I can`t implement that because of my main table can updates dynamically, but favorites can`t do that.
Any ideas how to implement?
Anyway, thank you for answers and comments!
Aucun commentaire:
Enregistrer un commentaire