Conflict with list variable and list of labels

When i stored list of labels to CoudDB and ask GetValue and on event GotValue i set the value to a list variable value, I get the following error message: Property setter was expecting a com.google.appinventor.components.runtime.Label component but got a String instead.

image

image

image

Hi Fragile

Unfortunately you can't do that. What you can do is save the List Index Number (of List RIDA4) related to the Label of interest, then call the appropriate Label from the List on GotValue.

Snap1

Also, use the Copy List function to, erm, copy a List:
CopyList

It stores this list to the cloud as follows:

image

but gets from the cloud as a string...

How to get it back as the list?

image

...even the copy list didn't help.

Or how to store him so that he can be returned as a list?

Components can't be stored.

They are ephemeral, like sparks.

2 Likes