Code example for DialogInterface.OnClickListener

Methods: onClick

0
    } 
 
    @Override 
    public void onClick(DialogInterface dialog, int which) {
        if (onClickListener != null) {
            onClickListener.onClick(dialog, which);
        } else { 
            onDoneListener.onFinishInputDialog(txtEmailInput.getText().toString(), txtPasswordInput.getText().toString());
            this.dismiss();
        } 
    } 
 
    @Override 
    public void onClick(View v) {
        txtEmailInput.setText("");
        txtEmailInput.requestFocus();
    } 
 
    @Override 
    public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
Connect your IDE to all the code out there  Get Codota for Java