The List Block

In App Inventor, we will be using the blocks in the Lists menu (see Figure 6.1). For reference, an entire list of the different list blocks is located on the App Inventor support site.

Image

Figure 6.1 The list blocks.

You can expand or shrink some of the list blocks by clicking the gear in the upper-left corner (refer to Figure 6.1). This enables you to add smaller blocks to the larger block (see Figure 6.2).

Image

Figure 6.2 The make a list block, with the item-adding menu (called a mutator) open.

For example, consider the make a list ...

Get Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.