Code example for DialogInterface

Methods: dismiss

            final Intent intent = IntentSupport.newEmailIntent(activity, bugReportEmailAddress,
                    bugReportEmailSubject, diagnosis);
            builder.setNegativeButton(buttonText, new OnClickListener() {
                public void onClick(DialogInterface dialog, int which) {
        return builder.create();
     * Creates a AlertDialog that shows a list of elements. The listener's onClick method gets 
     * called when the user taps a list item. 
     * @param <T> 
     *            The type of each element 
Contextual code suggestions in your IDE  Get Codota for Java