How to dismiss AlertDialog in android

后端 未结 7 1920
忘掉有多难
忘掉有多难 2020-11-29 05:43

I created AlertDialog that contains 4 buttons

OptionDialog = new AlertDialog.Builder(this);
        OptionDialog.setTitle(\"Options\");
        LayoutInflat         


        
相关标签:
7条回答
  • 2020-11-29 06:26

    Just set the view as null that will close the AlertDialog simple.

    0 讨论(0)
提交回复
热议问题