title: How to dismiss alertDialog manually?
body: <p>I am trying to fetch some data from server.If this gets failed in the middle due to some reasons, I am displaying an alert prompting user to restart their download once again. So what I have done is, in the alert dialog's ok button I have called the download method once again. This makes the alert Dialog to freeze and stops it form hiding. Only when the download is completed the alert dialog gets dismissed. Can anyone suggest some idea here. </p>