Pull To Refresh
  • 05 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Pull To Refresh

  • Dark
    Light
  • PDF

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 set-up

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.


Was this article helpful?

What's Next