Android Question ProgressDialog not show after click on home button.

Discussion in 'Android Questions' started by Kiran Raotole, Nov 4, 2018.

  1. Kiran Raotole

    Kiran Raotole Active Member Licensed User

    Hii
    My program show progressdialog but after user click on home button and resume application,
    application remove progressdialog.

    How to fix this?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Dialogs are dismissed when the activity is paused. You have two options:
    1. Store the state with a process global variable and show the dialog again in Activity_Resume.

    2. Use a panel with one of the many progress views instead of the dialog.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice