I have an activity which dynamically loads lots (and I mean lots) of controls when the activity starts. This must happen on the UI thread if it's not then the controls are not displayed.
While these are loading OnBackPressed doesn't fire or other things like OnTouch etc. Once loaded, events fire as expected. Is there any way I can detect that the user wants to abort the load and cancel the activity? I'm looking for a DoEvents type thing that can detect if there are other interactions while something is happening on the main UI thread. If I could use a non-UI thread I would and it would be simple.