Tabris 1.4 Preview: Spinning ProgressBar on Android
June 20, 2014 | 1 min ReadThe days until the upcoming Tabris 1.4 release are numbered and we have another nice addition to share with you.
A ProgressBar
can be configured to be indeterminate, which puts it in a never-ending activity mode. On iOS, indeterminate progress is always shown with a spinning indicator. The Android client uses a bar-like visualization for that state but it is also very common to see a spinning indicator for a long running operation. In Tabris 1.4, we added a little bit of API to enable that behavior.
To Activate the spinning ProgressBar
all you have to do is to use the Widgets
API:
Widgets.onProgressBar( progressBar ).useSpinningIndicator( true );
Now you probably can’t wait to show it off to the users of your Android app… Make sure they don’t see it too often though ;)
Please Note: The feature described above is a preview of the upcoming Tabris 1.4 features. Tabris 1.4 will be available on June 26th 2014. If you want to try it out before the release, just send us a quick request.