Code example for DialogInterface

Methods: cancel

0
                .setPositiveButton( 
                        context.getResources().getString(
                                R.string.ok),
                        new DialogInterface.OnClickListener() {
                    public void onClick(DialogInterface dialog, int id) {
                        dialog.cancel();
                    } 
                }); 
        return  builder.create();   
    } 
     
    /** 
     * @return  HTML displaying the changes since the previous 
     *          installed version of your app (what's new) 
     */ 
    public String getLog() {
        return  this.getLog(false);
    } 
 
    /** 
Connect your IDE to all the code out there  Get Codota for Java