I have to make a dialog with 2 editfields and a process which will be handled in AsyncTask on a button click. I found that I can add editfields in alertdialog and work out. My queries are :
1) In the AsyncTask process, I will also have to show a ProgressDialog. Can I show a ProgressDialog on top of AlertDialog ?
2) To make coding simple and easy, I would prefer if I can extend AlertDialog. Is it possible to extend AlertDialog or should I extend AlertDialog.Builder ? I am confused with this state.
3) In whichever button presses, eventually the dialog will be closed, but need to run AsyncTask on positive button. Is it fine to work like this with an AlertDialog !
4) Will AlertDialog also handle the orientation part on its own like Landscape or portrait as it is supposed to do.
Any help, guidance with this can be helpful.