• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Android : Developing a Loading Bar after Confirm Dialog Click

Hi All,

  1. I am developing a utility and facing an issue.
  2. The following describes what i intend to achieve:
  3. User will click on "Submit"Button.
  4. User will be prompted a confirm dialog box.
  5. On "No" , it will return.
  6. "Yes" click will take it to a method which does some processing.
  7. As processing can take sometime, i want to show loading bar after user clicks "Yes" in confirm dialog box.
  8. However, When i click "Yes"; the dialog box remains there and i can't see th progress bar.

Request you to please help me with this.
 
When the "yes" button is clicked, you need to dispose of the dialog, before the progress bar is shown.

EDIT: Moved to main Android App Dev forums.
 
Back
Top Bottom