I'm new in the forum and new in android development. I searched all over internet and around stackoverflow but I can't get an practical answer to my issues. I want to know your opinions about the best approach (handlers, async tasks, etc....) to my application. I have:
**1 - A button that when is clicked must show a list (the data is obtained parsin an html response)
2 - While the list isn't loaded the application must show a "Loading" dialog.**
Now I can load de list when I click on the button, but sometimes (depending on the internet connecxtion) it can take to long and I want to show the Loading progress dialog. I tried to implement AsyncTasks but win the method onPostExecute the dialog was closed but the list wasn't shown on the UI despite it was with correct data.
Can anyone help me with the best approach? Thank you very much.