Hi!! every one, I need help on, how to preserve state of component when the app is re-opened. for example if I check the checklist, it must be retain its checked state when I close apk and open apk again.
Use tinyDB
http://ai2.appinventor.mit.edu/reference/components/storage.html#TinyDB
See also
This tutorial will show you how to work with a list and TinyDB.
Level: Beginner/Intermediate
You will learn:
How to create a list and save items to it
How to save the list to a TinyDB
How to set the list when opening the app
How to set a listpicker elements to a list
How to delete an item from the list
How to avoid duplicates in a list
This tutorial also shows:
How to use a procedure in your workflow
How to build a "list display" in a label
How to use the notifier for information and…
2 Likes
system
Closed
June 6, 2023, 2:11pm
3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.