Currently native iOS and Android apps have baked-in support for pull-to-refresh. This means when you drag to scroll a page down past its top edge, a spinner appears. If you scroll down low enough and then release your drag, an event will be triggered, allowing you to e.g. fetch new data.
Using it is very simple: simply drag in a Receive event node from the core logic components; In the "Properties" tab set the Event source property to Pull-to-refresh triggered, and connect some logic to it.
Logic setup "Pull-to-refresh" event configuration
Once you have the event node on the page canvas with some attached logic, Composer will automatically enable pull-to-refresh functionality for that page.
At the moment, the spinner spins for a set amount of time and you can't configure how it looks.
Export as PDF
Copy link