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

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -