Android busy indicator
I'm wonder how to implement a busy indicator for Mono Android (and Mono Touch for that matter) in MonoCross. Displaying the indicator is easy enough, but how am I supposed to know when to make it disappear when processing is complete?
As the calls to the Controller code are asynchronous the code in the view doesn't know when Controller has finished and can hide the indicator. This is not an issue if control is passed to a new view but is a problem if the user hits the back button. Android has various life cycle events that could be used, but they won't work in every possible scenario. Another possible solution is to put a flag into the Model but I think that is a very ugly hack! Any ideas on how this could be achieved or am I missing something obvious here?!
Thanks in advance.