1. Are you ready for the Galaxy S20? Here is everything we know so far!

Alert dialog

Discussion in 'Android Development' started by Balos1234, Mar 29, 2021.

  1. Balos1234

    Balos1234 Lurker
    Thread Starter

    Hello everyone!

    I have noticed that you can use
    builder.setPositiveButton and builder.setNegativeButton for when you create an alert dialog.
    What is the difference between these two and can you use the one without the other?

    I have tried searching for it but with no luck!


    1. Download the Forums for Android™ app!



Share This Page