title: alert dialog in android should not dismiss
body: <p>I am making an application and it has an Alert Dialog in it.  </p>
  
  <p>Now i am checking some data I got from AlertDialog editTexts in dialog Positive button OnClick method but the dialog always dismiss if data i got from edittext fields is correct or not.  </p>
  
  <p>How can we  disable this feature.</p>
  
  <p><strong>UPDATED:</strong>  </p>
  
  <p>I am gettin Pin Code and Confirm Pin Code from the Dialog Box and in onPositive click i have checked to verify the pin codes.  </p>
  
  <p>Now if the pin codes matches then it is calling dialog.dismiss() and if not matching then display a Toast.  </p>
  
  <p>But in case of pin code not matched it displays me the message and dismiss the dialog.  </p>
  
  <p>I dont want that to be happen.</p>
  
  <p><strong>MORE UPDATES:</strong></p>
  
  <p>is there any way that i will disable the OK Button and when data is verified it will enable the positive Button?? </p>
  
  <p>Please help</p>