How can I add a button that when its clicked it starts a circular progress animation for 5" and after it a notificator appear?

It's just of a searching for updates simulator, so it simulates the search with the circular progress an them notificator says that there are not updates. Thanks you very muchh :)))

Set a button, when clicked make visible the circular progress (not visible at the beginning) and start a timer with 5000ms interval. When Timer event is fired, stop the timer, hide the circular progress and show your notification.

2 Likes

Hi! Thanks for your fast reply. I cannot find out how to add a "when timer event is fired"

When you enable a Clock component with an interval...you will have Clock.Timer event for each interval, until you disable the clock.

Take a look here:
Sensors (mit.edu)

and with more details here:

image

1 Like