Class “ActivityIndicator”

Object > NativeObject > Widget > ActivityIndicator

A widget representing a spinning indicator for indeterminate loading / processing time.

ActivityIndicator on Android
Android
ActivityIndicator on iOS
iOS
Type: ActivityIndicator extends Widget
Constructor: public
Singleton: No
Namespace: tabris
Direct subclasses: None
JSX Support: Element: <ActivityIndicator/>
Parent Elements: <Canvas/>, <Cell/>, <Composite/>, <Page/>, <RefreshComposite/>, <Row/>, <ScrollView/>, <Stack/>, <Tab/>
Child Elements: Not Supported

Examples

JavaScript

import {ActivityIndicator, contentView} from 'tabris';

new ActivityIndicator()
  .appendTo(contentView);

See also:

JSX Creating a simple ActivityIndicator

Constructor

new ActivityIndicator(properties?)

Parameter Type Description
properties Properties<ActivityIndicator> Sets all key-value pairs in the properties object as widget properties. Optional.

Properties

tintColor

The color of the indicator.

Type: ColorValue
Settable: Yes
Change Event: tintColorChanged

Change Events

tintColorChanged

Fired when the tintColor property has changed.

EventObject Type: PropertyChangedEvent<ActivityIndicator, ColorValue>

Property Type Description
value ColorValue The new value of tintColor.