For dialogs that interact with it, use an UpdateListener (eg saving, wallpaper etc...).
For this BitmapFragment must maintain multiple listeners properly. This should be done with further restructuring of BitmapFragment.
Finally, ProgressDialog must create a "onCancel" callback
** How do I know, which listener to remove? This could be done using the 'request_code'.
For dialogs that interact with it, use an UpdateListener (eg saving, wallpaper etc...). For this BitmapFragment must maintain multiple listeners properly. This should be done with further restructuring of BitmapFragment. Finally, ProgressDialog must create a "onCancel" callback ** How do I know, which listener to remove? This could be done using the 'request_code'.