I want to implement a “save“ option on cardview items. I want to know how can I cache/save a cardview so I still can interact with it even if it has been remove from database hence updated in the UI tab but still accessible locally in the SAVED tab.
If it's gone from the DB, then it's gone gone. You'd have to spin up a local Room instance or something which won't work anyway when the user tries to use your app on another device. A much simpler solution would be to simply enable offline persistance.
Does that answer your question? I wasn't quite sure what you meant by available "locally." 🤷♂️😊