kunal
kunal

Reputation: 328

Sony smartwatch 2 put progress hud

In my sony smartwatch2 app extension. I want to show a progress hud kind of a thing on a button click and perform some task in background. How can i show a progress hud on button click. I am able to get button click and able to perform task. But during execution i don't want user to click that button again and again.

Upvotes: 0

Views: 135

Answers (1)

peter.bartos
peter.bartos

Reputation: 12045

To make a loading animation or a progress bar, you can use sendBitmap or showLayout methods in a loop, for example by a Timer. In a reasonable delay, you can send updated UI with the current state of your process.

Upvotes: 1

Related Questions