I have an app with a ListView, when i select one item, i am receiving the following error:
Bad arguments to -
The operation - cannot accept the arguments:
["aaaaaaaaaa:bbbbbbbbbbb:ccccccccc"],[1]
End Application.
My app displays all the rows from the TinyDB, but when i try to select one of them, i receive this message.
Here are the blocks. In the Designer screen, i only have:
A Button.
A ListView.
TinyDB.
That's all.
/home/rmuneton/Downloads/blocks(4).png
/home/rmuneton/Downloads/blocks(5).png
Hi Kevinkun.
Thank you for your quick reply.
I am learning MIT App Inventor and just bought a book, "App Inventor Databases and files".
The author is Edward Mitchell.
At some part of the book i saw an example where the App is reading a TinyDB and i try to adapt it to my app. This is where i copy that segment. And in it, is substracting 1 to Selected. I think this is a bug. I will try the option that ABG is suggesting.
Thank's anyway.