As you can see in the photo i have created a list where i can write stuff down and then pick them from a list picker and i can keep notes on each stuff . I set each element in list picker as index 1/2/3 etc. The problem is that every time I use the delete button to delete the element the index is not removed as wet and i can still tap it even though there is not text. Any thoughts?
Here is how deletion is done in a ToDo app that keeps separate lists for ToDo and DONE:
Keep the .SelectionIndex from the List Picker, to remember which index was selected from the task list. I use a Label.Text.
I keep my ToDo items in a single list under TinyDB tag 'TODO'.
Only my two procedures shown here know that, and I let them control all access to list storage.
Will that work in my case? Also where do i find the call command ?
these are procedures, see also MIT App Inventor Procedure Blocks
A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .
Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.