Issue about List

how to retrieve items in a list without shuffling them? please help :pray:t2: :pray:t2::pray:t2:

Do you mean the "select list item" block?

1 Like

No, I don't mean it, I mean is how he picks up a large number of items, and takes them in order

maybe an example will help, like what's the input and output?


Also tell us what you have tried.

1 Like

Are you talking about list how list access its element, it access element with the help of indexing. In the very beginning of book there is index and that index help to locate the topic, at what page it is in a quick manner regardless of how many pages a book contains. It is all about data structure, how data is organised in memory and how we access them.

An index in a list helps us select an item. For example, if you have the following list:

  • Test

  • Exam

  • Worry

The index for Test is 1, the index for Exam is 2, and the index is 3 for Worry (in an App Inventor's perspective).


Hello M.D.M. Aditama

We need a lot more information to understand your process.

  1. The List - is it static (never changes) or dynamic?
  2. Where does the List reside? Is it stored in the App (Block or File) or external to the App - stored on the phone or is it in the Cloud?
  3. How do you intend the User interaction to work?

If the User is presented with a ListView or ListPicker, only one item at a time can be selected.

  1. Static
  2. Variable

This the right block

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