Open DrewGregory opened 6 years ago
I also call .show() on the loading indicator, and nothing happens.
Here is the relevant source code:
exports.pageLoaded = function(args) {
var loader = new LoadingIndicator();
var options = {
message: 'Loading...',
progress: 0.65,
android: {
indeterminate: true,
cancelable: false,
max: 100,
progressNumberFormat: "%1d/%2d",
progressPercentFormat: 0.53,
progressStyle: 1,
secondaryProgress: 1
}
};
loader.show(options);
timer.setTimeout(() => {
createGrid();
loader.hide();
}, 1000);
};
Same issue
When I navigate to a new page from an extended activity function (using frame.topmost().navigate()) (for me, onActivityResult) that uses a loading indicator, I get the exception listed below:
If you are unfamiliar with extending activities, here is the documentation: https://docs.nativescript.org/core-concepts/android-runtime/advanced-topics/extend-application-activity