Hello everyone,
even though I'm simply deleting a selection from the ListView, I get this error...where am I going wrong?
Regards
Nicola
The Index of the Selection is zero because the Selection is not in that list.
Either that, or nothing has been Selected yet.
It's unfortunate that you had to find this out so late, instead of explicitly testing for those cases before attempting the remove from list.
From the documentation MIT App Inventor List Blocks
Use the companion app and Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
See my website for ListView snippets:
https://www.professorcad.co.uk/appinventorsnippets#DelListViewItems