What are the pros and cons of moving data between screen using either TinyDB and start value?
I have around 3 screens and multiple virtual screens within them, a main screen where a list of data is retrieved every time the app is started. When navigating between screen, I have a variable that tracks last virtual screen that was on a particular page. When using tinyDB for my application, I have trouble figuring out an algorithm to clear TinyDB everytime the app is restarted.
Based on my limited experience, research and testing done, seem like start values are simpler to work with as lesser codes are used and way easier to clear data when the app is closed.