Hi all, I am making an where I use Cloud DB, Dictionary, and ColinTreeListView.
Now my problem is when I tried to use the when ColinTreeListView1.ExtraButtonClick I used this block-
In the image you can notice that the ColinTreeListViewElement1 is returning "Item 1 5kg". And you can also notice that the global ItemDictionary also contains key "Item 1 5kg".
But the problem is, when I tried to get the value for key "Item 1 5kg" (ColinTreeListViewElement) from global ItemDictionary, it is returning {} instead of the original value.
Having no access to your project, I can assume your dictionary has a dictionary structure but is not a dictionary.
Show block in which you download data to the dictionary.
Hello when I tried on different the result was different- Working
Vivo Y21L (Version 5.1.1)
Not Working
Samsung Tab A (Version 10)
Xiomi Redmi (Version 8.1.0)
There is another surprising thing-
The screen initializes and the CloudDB returns the last saved items, when the extra button is clicked, it returns the details dictionary. But when a newly added item is clicked on the extra button, it does not return the details dictionary.
Hi. Your application is very extensive. In order not to waste time learning about your application logic and figuring out what you meant, I built a simple Cloud database app. On my Samsung S8 with Android 9 it works with both companion and after compiled. Compile this application and test it on your devices.
The app saves items as a dictionary in CloudDB. Each item has a name, quantity and price. You can add items and remove.
I compiled your application and registered. I added two items to the store and after logging in again I can read the previously saved items without any problems.
I modified some of your blocks. There are no such errors.