If I use DialogWindow with LaunchOptions and launchAsync, how do I know when my component called exitModalState? Is there something I can hook into - a callback or as a listener - to catch this?
My solution so far is to call exitModalState and call a custom notify listener function, but I wonder if there's a simpler way of doing this?
Obviously using showModalDialog would do exactly this, as it waits until the dialog is closed then returns the result from exitModalState, however Android doesn't have this.