Question

I'm having a bit of awkwardness in App Inventor and lists. I had hoped to generate a list for a user entered value. For eample - a text box the user enters Book title, publication year, author, and ISBN. I would like to create a list with the ISBN as list number.

How feasible/practical is this?

Add items x,y,z to (previously non-existent) ISBN list does not work.

I'm currently trying a working around with empty lists List1, List2, etc that are filled sequentlially but this is less than ideal.

Was it helpful?

Solution

This is very feasible/practical. You have to use 2 lists: listISBN which stores your ISBN and another list, let's call it listDetails which stores sublists of the detail data.

To save the data, use two add items to list blocks, see screenshot: screenshot

To select the items from your lists, use the same list index together with select list item blocks.screenshot

More about lists here, also see chapter 19 here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top