javiersantos / MaterialStyledDialogs

A library that shows a beautiful and customizable Material-based dialog with header. API 14+ required.
Apache License 2.0
1.17k stars 155 forks source link

How to validate the form when positive button click? #73

Open shanu95 opened 5 years ago

shanu95 commented 5 years ago

I have my dialog with some form. when user click positive button if form has errors they should be shown and dialog shouldn't dismiss. if all are validated then it should be closed. when neagative button clicked, dialog should dismiss. how can i achieve this?