I’d like to autosave the text entered in the textbox fields (name, address, number) automatically so if the user closes the app or changes page and then comes back the fields will be already filled as he left it.
I’m thinking about saving every few seconds but would probably stress the phone? Or not so much?
I could check every x seconds if the textbox entry is similar to the saved one and save in case it’s different, don’t know if it would less stress the cpu-battery-phone.
Checking everything to see if they changed would likely be more demanding on the cpu than simply saving everything every few seconds, because checking means pulling the previous value out of storage for comparison, which is as much work as saving. Plus, you have that comparison and the saving.
Directly saving is therefore at least saving the checking operation.