Create an Alert Dialog

/ Published in: Java
Save to your folder(s)

Copy this code and paste it in your HTML
  1. new AlertDialog.Builder(this)
  2. .setMessage("There was an error loading data")
  3. .setPositiveButton("Ok", null)
  4. .show();


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.