I found that in my use case when TO date is behind FROM date I should show toast message and do not close dialog, instead let the user modify his/her input. So I have modified OnDateSetListener and onTimeSetListener so they return boolean indicating should the dialog be dismissed or not.
I found that in my use case when TO date is behind FROM date I should show toast message and do not close dialog, instead let the user modify his/her input. So I have modified OnDateSetListener and onTimeSetListener so they return boolean indicating should the dialog be dismissed or not.