Use Advanced Expressions to filter an array of records to display specific data and perform expression transformations over the data.
We will display a list of people from the array of records, then filter them and display those that have entered a name. We will display their initials as a left avatar and add a label to each list item to display whether they are registered.
See the full example in GitHub.
As part of advanced expressions, you can define functions that will run the expressions. It can be a function for date transformations, maths calculations, or any string transformations. By using functions you will have cleaner code that is easier to read.
This example shows a simple function that will divide the number from the datasource.
See the full code sample in GitHub.