I am writing the app and I have the following scenario: First i show an Acitivty and I show a ProgressDialog while loading data from a Server. I do the loading task in a Thread because I found this to be a solution so that the Dialog is shown correctlyI am writing the app and I have the following s