in my application I get long data from server or I display google maps in some views. Getting the data or showing the map takes sometime several seconds. I want to show user a "loading..." mask and block any other input from him.
Question: How can I show and hide a "loading..." mask during any long running action?
This is a standart problem on apps and I think there exist a solution pattern.
thanks a lot for any hint