java - How to return from an AlertDialog to the AlertDialog before -


how can return alertdialog called , offers more buttons , user clicks on 1 of buttons, new alertdialog pops input field. if check if user input e.g. numeric, how can return alertdialog offered before?

i'd suggest using dialogfragment support library each of these dialogs. add onclicklisteners each of buttons of first dialogfragment , show second dialogfragment in onclick.

there should not necessity checking if input number if set appropriate input type first.

when user taps button on second dialogfragment, call dismiss().


Comments

Popular posts from this blog

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -