I'm using a AsynTask
and when I go into the processing, which is fetching some info off a webserver I want to display a loading dialogue. Currently I have a Progress spinner which I make visible on onPreExecute
but I wanted to put the rest of the UI out of focus whilst it does this.
What is the correct way to do this, should I be using a pop-up type of dialogue instead of just a progress bar?