Good day all,
In my app I am scanning if any cloudDB data has changed and if so it downloads it to TinyDB onto the phone for faster startup next time. That all workd.
What I am hoping for that I can make a smarter solution for the following blocks:
I was thinking about something like this:
if the tag = (specific numeric value) then get cloudDB value and tinyDB store value. Then for the next one if it doesn't equal the MAX (which in this case is nr 60.) then add +1 to the previous number until the max of 60 is reached so I don't have to do this every time I add a new block.
I appreciate any help.
Thanks!