Then, use the List value to reference the object.
However, this does not work with TinyDB. It allows the storage of the reference without error, but, the reference appears to be converted to plain text. Gives the error 'Property setter was expecting a Label component but got a String instead'.
Displayed the value of the stored reference and got 'com.google.appinventor. componants.........'.
Is this expected?
yes, this does not work, see also https://groups.google. com/d/msg/app-inventor- developers-library/ 0AbbcdBeQjs/UC1D3FFYKroJ (that's about App Inventor Classic)
what you can do is to build a list of the components during runtime of the app and store the index of the component in TinyDB instead
댓글 없음:
댓글 쓰기