But I am not sure why everytime i close the apps, it doesn’t remember the list eventhough in the block, it already used “local storage” function.
Also, can anyone point me how to use stored variable in this particular scenario? Since you need to make both “label” and “switch”, does that mean I need 2 different “stored variable”.
You use the stored variables the same way as app variables with one exception. For stored variable, when the app open the first time (or after the app’s cache is cleared) you need to initialize the variable. If you do not, trying to use the stored variable can cause a variety of crashes, depending on the data type and use. To initialize, simply set the value in the start even of the first screen.
Also if possible, how to make both the label and the switch to be in 1 line, beside each other.
Because if I add a long label, it will make 2nd or 3rd line. Meanwhile, the switch will still only take 1 line.
for illustrative purpose :
Column 1 | Column 2
breakfast | switch 1
study group| switch 2
with friend | switch 3
lunch |
the label “study group with friend” should only result in 1 switch, but because it is long and takes 2 line, it mess with the formation of the label + switch.
just asking about store variable. i have created row in airtable and i want same info to be created at store variable. it need to create 1 variable only or each of info need to created own variable. sample block as below.