Комментарии:
thankyou for this tutorial, it was very helpfull..
ОтветитьI don't understand is why you add 1 to month at the begining ???
Ответитьperfect, the easiest way
ОтветитьSanktips.newcomentonisvideo("zeze said :"+1subscriber+"and"+1like+"really nice tutorial thanks");
ОтветитьThanx Bro☺️🤘
Ответитьthe simplest way I have found. thanks
ОтветитьThanks man!!
Ответитьthanks!!! good tutorial!!!!
Ответить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.
Ответить