I am working on a note taking app and i am storing various images and texts using room persistence. I was wondering if it is better to keep updating the database every time user performs an action (like update the existing note) or is it better to do it at the end when the activity terminates or moves on to another activity.
What are the pros and cons of both the options.
Is there any better way than that ?
from Is it good to keep updating room database with every action or to do it at the end?
No comments:
Post a Comment