Tutorial

Tutorials, how to’s with large content

  1. Home
  2. chevron_right
  3. Tutorial
  4. (Page 8)

Android How To Make an AlertDialog

Snippets, Tutorial
To make an AlertDialog you have to write this code: AlertDialog.Builder alertDelete = new AlertDialog.Builder(ListsActivity.this); //HERE YOU WILL WRITE THE MESSAGE YOU WANT alertDelete.setMessage(R.string.delete_confirm); //HERE IS THE POSITIVE BUTTON. YOU…
sponsored
Exit mobile version