I can't seem to find the answer anywhere.

Currently I'm using the following short snippet:

                ad.setButton("Dismiss", new 
DialogInterface.OnClickListener()
                {        
                    @Override
                    public void onClick(DialogInterface dialog, int which)
                    {
                        dialog.dismiss();
                    }
                });

But it's deprecated, and I can't seem to find the right way to do it. I 
know using deprecated methods is fine for many, but personally I would 
rather avoid them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to