In android studio I have added a Date Picker to my xml. My goal is to use the datepicker so that when a day on the calendar is selected(clicked) by the user, then a new Intent will start and with that intent, information will be displayed based on the intent. Of course i know how to send information and start and intent etc.
My main issue is having an onclicklistener for the individual days, and getting the actual day clicked into a variable to send. I have seen DatePickerDialog but am confused the difference between that and my DatePicker, and as to how to extract the info