Template
View Counter
How to count the number of times a row has been viewed
Industry:
n/a
Function:
Other
This app shows how to count the number of times a row has been viewed in your app. Each row has a Counter column that holds the view count. When you click on a row in the table view, it increments the counter.
Loading...
Also see:
tablet mode & fullscreen mode
How we built this app
To do this, we used a custom actions to override the default behavior when you click on a row in a table view. We defined three actions on the data table:
- Navigate, which navigates to the detail view of the row
- Increment, which increments the counter of the row
- Increment and Navigate, which does both
We set the Row Selected behavior of the table view to call the Increment and Navigate action.
This is a preview of the data sets used in the app.
Data
This is a high-level model of both the data entities and the UI elements in the app.
Loading...