Answers for "dialoge box stay show in android"

0

dialoge box stay show in android

class CustomListener implements View.OnClickListener {
  private final Dialog dialog;

  public CustomListener(Dialog dialog) {
    this.dialog = dialog;
  }

  @Override
  public void onClick(View v) {

    // Do whatever you want here

    // If you want to close the dialog, uncomment the line below
    //dialog.dismiss();
  }
}
Posted by: Guest on February-24-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language