Please accept YouTube cookies to play this video. By accepting you will be accessing content from YouTube, a service provided by an external third party.

YouTube privacy policy

If you accept this notice, your choice will be saved and the page will refresh.

 

Show the video description

In this tutorial we are going to open a DatePickerFragment and use its onDateSet Callback to send the date to our Activity and show it there. We are also going to format that date to our Locale.