This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Please provide the following version numbers that your issue occurs with:
Progress NativeScript UI plugin version: (the version of nativescript-ui-* in the package.json)
8.1.2
CLI: (run tns --version to fetch it)
6.3.0
Cross-platform modules: (the version of tns-core-modules in the package.json)
6.5.1
Runtime(s): (the "tns-android" and "tns-ios" properties in the package.json)
android 6.2.0
My request is simply to consider making the processing property of ActivityIndicator a number instead of a boolean. This makes much more sense in the context of asynchronous loading. For each job you can increment by 1. As they finish you decrement by 1. Any positive number activates it. 0 turns it off. A negative number should never happen, perhaps it could throw an exception.
Under the current setup if you have a couple calls where one takes a bit longer, the property is set to false when the first one completes, potentially leading to a confusing UX.
Which platform(s) does your issue occur on?
Both
Please provide the following version numbers that your issue occurs with:
package.json
)8.1.2
tns --version
to fetch it)6.3.0
package.json
)6.5.1
"tns-android"
and"tns-ios"
properties in thepackage.json
)android 6.2.0
My request is simply to consider making the processing property of ActivityIndicator a number instead of a boolean. This makes much more sense in the context of asynchronous loading. For each job you can increment by 1. As they finish you decrement by 1. Any positive number activates it. 0 turns it off. A negative number should never happen, perhaps it could throw an exception.
Under the current setup if you have a couple calls where one takes a bit longer, the property is set to false when the first one completes, potentially leading to a confusing UX.