ProgressDialog in TabHost application ofandroid

后端 未结 1 981
无人共我
无人共我 2021-01-25 06:02

I want to use the Progress Dailog in my application. I am facing one issue in doing it, after some RnD I came to know that it is not quite possible to create the progress Dialog

相关标签:
1条回答
  • 2021-01-25 06:44

    I think the problem is with context of the progress dialog

    Try giving the context of the dialog as getParent()

    ProgressDialog.show(getParent(), " Loading...", "Please wait...", true, false);

    0 讨论(0)
提交回复
热议问题