Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use screen elements loops to display resulting arrays array results of filters and API requests on an app screen. A loop can iterate on a single key/value, like - a name; or on a multiple ones, like - a name, date of birth, avatar picture, etc.

Common example of such arrays is a list of items in a shopping cart or a list of payments.

...

  • Set up data source: Filter or Operation

  • Set up loop that will parse the data from the data source

  • Call the loop reference and extract its' data .into an app's screen


Note

Before proceeding,

...

make sure

...

Make sure you have accomplished the steps described Use automatic data filters article before implementing the steps below.

...

you know:

  •  Hashtags, as this section is heavy on referencing data points,
  •  Automatic Data Filters, as Loops need a source of data and Filters are the most commonly used one.




Anchor
filter-data-source-loop
filter-data-source-loop
DISPLAYING DATA FROM FILTERS

At previous step we have created AgeEmail filter that shows users with Gmail account with the age less than specified. Here we create a loop to display Name and Age of all the filtered records.

...