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.
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.
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.
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.
Split text into a list, join a list into text, and sort list items in Android Macro, with simple examples for each block.
Get, remove, set and insert items at any position in a list with Android Macro blocks, using index, first, last or random locations.
Calculate the sum, minimum, maximum, average, median and more of a list of numbers in Android Macro with the list math block.