Is tinyDB an equivalent of shared preference?

Im trying to wrap my head around tinyDB. If I store a tag/value in one screen, will i be able to retrieve that from another screen simply using the tag stored in the first screen (name both tinyDBs on two screens to the same namespace)? Thanks

Yes, it can be used across multiple screens, please find more information in link below

http://ai2.appinventor.mit.edu/reference/components/storage.html#TinyDB

It allows me to delete TinyDB items stored in screen1(TinyDB1) from screen2(TinyDB2) under the same namespace

image
image


image

2 Likes

Thanks for confirming.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.