• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Two methods of dialog creation. What the difference?

Zilon

Lurker
There is two methors to add buttons to AlertDialog
1. using AlertDialog.Builder and calling builder.setPositiveButton or setNegativeButton
2. using AlertDialog dialog; dialog.setButton dialog.setButton2.
What the difference

By the way, if I inherit my class from Dialog should I override all constructors, or only one
 
Back
Top Bottom