安卓加载消息

标签 android

<分区>

Possible Duplicate:
Download a file with Android, and showing the progress in a ProgressDialog
Android Activity Indicator?

我真的是android的新手 我正在做一个与 webservice(xml) 连接的应用程序,它运行良好,但我的应用程序加载屏幕时 View 不完整,然后显示数据。 当所有数据都已从服务器下载并显示后,我想实现一个“准备就绪”对话框。

谢谢你的帮助

最佳答案

来自 http://developer.android.com/guide/topics/ui/dialogs.html#ProgressDialog

ProgressDialog progressDialog= ProgressDialog.show(MyActivity.this, "", 
                "Loading. Please wait...", true);

progressDialog.dismiss(); // for close the dialog bar.

关于安卓加载消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13782270/

相关文章:

java - Android: NullPointerException 尽管@NonNull

android - 单击后退按钮时最小化应用程序android

android - 无法打开内容 : Custom Content Provider

android - 使用谷歌分析 Flutter 日志事件

android - 操作栏 - 操作项的定位

android - Intent 选择器对话框在 Activity 标签旁边显示包名称

android - vkontakte 在 android 中的墙上共享消息?

android - 如何恢复 Activity 而不是开始其副本

android - android studio 3.0.1 错误: minimum supported gradle version is 4. 6

android - Android上的HttpClient : NoHttpResponseException root cause In my project,是吧?