How to Implement DatePickerDialog in Android Studio | Sanktips

How to Implement DatePickerDialog in Android Studio | Sanktips

Sanktips

7 лет назад

21,784 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Tarang Dave
Tarang Dave - 15.03.2020 15:13

thankyou for this tutorial, it was very helpfull..

Ответить
Glenn V. Merkel
Glenn V. Merkel - 08.03.2019 20:30

I don't understand is why you add 1 to month at the begining ???

Ответить
Code-addict
Code-addict - 08.07.2018 17:14

perfect, the easiest way

Ответить
zerwal
zerwal - 23.06.2018 06:05

Sanktips.newcomentonisvideo("zeze said :"+1subscriber+"and"+1like+"really nice tutorial thanks");

Ответить
Muzaffar Bagban
Muzaffar Bagban - 24.05.2018 08:34

Thanx Bro☺️🤘

Ответить
Jan Paul Echaveria
Jan Paul Echaveria - 07.04.2018 18:09

the simplest way I have found. thanks

Ответить
Ameer466
Ameer466 - 05.01.2018 19:05

Thanks man!!

Ответить
elviss911
elviss911 - 26.12.2017 21:03

thanks!!! good tutorial!!!!

Ответить
kszyho8
kszyho8 - 22.12.2017 19:28

Nice work, but datepicker when displayed, shows +1 month. For example your TextView when activity starts, shows correct date (25/4/2017) but datepicker shows 25 May 2017. To prevent that you can simply change " }, year, month, day); " TO " }, year, month-1, day); " before datePickerDialog.show(); of course if you want to show datepicker on actual month. I'm glad I found this video. Thanks for easy solution.

Ответить