dimanche 29 mai 2016

How to handle ProgressDialogShow onDismiss() event?

Hi,

I display a cancelable ProgressDialogShow window in my app while other stuff (outside of the block that the ProgressDialogShow was called) are being processed. When the user presses the BACK key, I want to to:

  1. Hide the Progress Dialog (happens automatically)
  2. Execute some logic (does not happen since the first BACK key press just closes the dialog, not running my code)
Is there a way to access the onDismiss() event of the ProgressDialogShow so i can run my logic...

How to handle ProgressDialogShow onDismiss() event?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1Z6pWH9
via IFTTT

Aucun commentaire:

Enregistrer un commentaire