This question is locked. New answers and comments are not allowed.
I was attempting to use an ActivityIndicator (https://github.com/NativeScript/docs/blob/master/ApiReference/ui/activity-indicator/HOW-TO.md), but when I instantiate a ActivityIndicator() object my app crashes on iOS and Android.
Thanks,
TJ
Thanks,
TJ
5 Answers, 1 is accepted
0
Hi TJ,
Can you post more info about the error? You can use the tip provided in this post to get more info about the error.
Regards,
Vlad
Telerik
Can you post more info about the error? You can use the tip provided in this post to get more info about the error.
Regards,
Vlad
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0

TJ
Top achievements
Rank 1
answered on 06 Jan 2015, 04:57 PM
Hi Vlad,
The ActivityIndicator is no longer crashing for me (not sure why), but it doesn't appear to do anything. I've tried putting these three lines of JS in my page's load method:
var activityIndicatorModule = require( "ui/activity-indicator" );
var indicator = new activityIndicatorModule.ActivityIndicator();
indicator.set( "busy", true );
...but nothing happens. I also tried adding an <ActivityIndicator busy="true" /> to my page, but that doesn't display anything either. Any idea what I need to do to get this to work? I don't see anything else in the docs.
Thanks,
TJ
The ActivityIndicator is no longer crashing for me (not sure why), but it doesn't appear to do anything. I've tried putting these three lines of JS in my page's load method:
var activityIndicatorModule = require( "ui/activity-indicator" );
var indicator = new activityIndicatorModule.ActivityIndicator();
indicator.set( "busy", true );
...but nothing happens. I also tried adding an <ActivityIndicator busy="true" /> to my page, but that doesn't display anything either. Any idea what I need to do to get this to work? I don't see anything else in the docs.
Thanks,
TJ
0
Hello TJ,
We have ActivityIndicator in our cuteness.io app details page. Can you try it?
Regards,
Vlad
Telerik
We have ActivityIndicator in our cuteness.io app details page. Can you try it?
Regards,
Vlad
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0

TJ
Top achievements
Rank 1
answered on 07 Jan 2015, 09:45 PM
Hey Vlad,
After looking at Cuteness I was able to get this working and the problem was on my end. I'll make one feature suggestion though: if we could add the ability to show a message with the spinner (like this Cordova plugin does http://plugins.telerik.com/plugin/spinner) that would be awesome.
Anyways, thanks for your help.
TJ
After looking at Cuteness I was able to get this working and the problem was on my end. I'll make one feature suggestion though: if we could add the ability to show a message with the spinner (like this Cordova plugin does http://plugins.telerik.com/plugin/spinner) that would be awesome.
Anyways, thanks for your help.
TJ
0
Hi TJ,
Since such kind of dialog is not native for native mobile platforms the closest option we can offer for now is custom dialog from our dialogs module with some text. Here is an example:
Regards,
Vlad
Telerik
Since such kind of dialog is not native for native mobile platforms the closest option we can offer for now is custom dialog from our dialogs module with some text. Here is an example:
...
var
dialogs = require(
"ui/dialogs"
);
var
dialog =
new
dialogs.Dialog(
"Loading..."
);
dialog.show();
...
Regards,
Vlad
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.