How can I show a Dialog Box when data is loading?

You must Login before you can answer or comment on any questions.

Well, I think the question is self-explanatory.

In certain parts of my app I want to load certain data that takes a little while and meanwhile I want to show a dialog (without any buttons) wich locks de UI until it ends.

Is it possible to do?

The only candidate I've tried is the AlertDialog but I can't find how to remove every button of the dialog.

2 Answers

Accepted Answer

— answered 1 year ago by Ivan Škugor
answer permalink
2 Comments
  • That code gets quite close to what I want, is there anyway to "lock" the UI? I think that the zIndex property could help.

    Thanks for the help.

    — commented 1 year ago by Juan Manuel Pedraza

  • Sorry, I tested it in iOS and in Android does it perfectly the lock function, now I have to deal with iOS.

    Thank you every one.

    — commented 1 year ago by Juan Manuel Pedraza

Try kitchen sink there are some examples of this kind.

— answered 1 year ago by Gagan Tiwari
answer permalink
1 Comment
  • The kitchenSink is quite huge, I've spend 2 days searching for a code in the examples that does what I'm looking for, is there a concrete code? I've look every sample that uses the dialogs from Ti.UI and more but found nothing.

    Thanks for the help

    — commented 1 year ago by Juan Manuel Pedraza

Your Answer

This question has been locked and cannot accept new answers.