Skip to content

Instantly share code, notes, and snippets.

@malikkurosaki
Created September 20, 2018 03:29
Show Gist options
  • Save malikkurosaki/c3bc81be7cdca7565ab12a6822e5e3d0 to your computer and use it in GitHub Desktop.
Save malikkurosaki/c3bc81be7cdca7565ab12a6822e5e3d0 to your computer and use it in GitHub Desktop.
aler dialog on dismis
AlertDialog.Builder profil = new AlertDialog.Builder(this);
View view = getLayoutInflater().inflate(R.layout.tesaja,null);
profil.setView(view);
profil.setOnDismissListener(new DialogInterface.OnDismissListener() {
@Override
public void onDismiss(DialogInterface dialog) {
Log.d("DIALOG","cancel");
}
});
profil.show();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment