Previously i was using showDialog() which now is deprecated.
I am already in a Fragment which contains an EditText. How can i call this DatePickerDialog and set the EditText's Text to the selected date?
Using DialogFragment seems a bit complicated.
Thank You
Please take a look at android API guides : http://developer.android.com/guide/topics/ui/dialogs.html#ShowingADialog
Its easy:
UpdateDisplay method: