Skip to main content

6 docs tagged with "Lists"

View all tags

Accessing Items

Read from a list in your Android Macro: get its length, check whether it is empty, and find the position of an item, with block examples.

Creating Lists

Create lists in your Android Macro: start with an empty list, add starting items, or repeat one item many times to get a list of the size you need.

Getting Sublists

Extract part of a list into a new list with the sublist block in Android Macro, by choosing the start and end positions to copy.

List Operations

Split text into a list, join a list into text, and sort list items in Android Macro, with simple examples for each block.

Managing Items

Get, remove, set and insert items at any position in a list with Android Macro blocks, using index, first, last or random locations.

Math on Lists

Calculate the sum, minimum, maximum, average, median and more of a list of numbers in Android Macro with the list math block.