There are a "Date" button and a "Submit" on my activity. When I click on "Date" button, a date picker is shown.The selected date becomes the text of the "Date" button.
On the click of "Submit" button, the text on the "Date" button gets stored in a sqlite database.
I just want a validation on click of "Submit" button that the text of "Date" button is a valid date.
Can someone help me, please?