Listview, elements whith ID

Is it possible that with a list view, when the user adds items to the list, for each item an auto iD is generated?
That is, the user enters the text field, for example, "Marie", and it is displayed with a list view. But each item you add has a different ID (not visible).

List items are already indexed, you just need to get the index?

Look, I'll explain what I want to do: basically a contact list. But to these contacts add an additional "note" later.

For example: the user adds to his list:
"Marie" (Contact)
"12345" (number)
But then the user can add a note to that same contact. That is, the contact and the number are created at the same time. But the note is something later, which can be added as needed.
"Marie"
12345
"I called her last night"

But I don't know how to get notes to be added to contacts effectively

the user adds to his list:
"Marie" (Contact)
"12345" (Number)
"" (Note)

then later recall the Contact "Marie"(index1) and use a textbox to enter data that can be added to Note "" (index3). You could edit all elements of the contact if you wanted....

Sorry to bother you, but can you explain how the index is generated and how to recover it? To follow your advice. I started programming 1 week ago, so I still don't understand several things :pray::pray:

Here are some resources to help you learn to use the AI2 tools. 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 look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | imagnity for more tutorials.

Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU

Reading and doing the following articles and tutorials should explain in detail Candela how the indexing works and how to manipulate Lists with and without ListView.

https://www.imagnity.com/tutorials/app-inventor/list-blocks-on-app-inventor/

https://www.imagnity.com/tutorials/app-inventor/list-sorting-on-app-inventor/

https://www.imagnity.com/tutorials/app-inventor/shuffle-list-unique-random-numbers/

ListView

Soon, you will be an expert. :slight_smile:

Test.aia (3.6 KB)

Try this. See if it is meeting ur requirement

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.