Date Picker Dialog on Android

Date Picker Dialog on Android

CodingWithMitch

5 лет назад

48,711 Просмотров

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


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

Alisher Otajonov
Alisher Otajonov - 22.08.2022 21:01

Perfect! I have really enjoyed this video. Thank you sir !

Ответить
tamir moav
tamir moav - 18.06.2022 15:11

thanks - i get somehow a value of one month before the one I picked , the day and year are ok. how come?

Ответить
Yihe Z
Yihe Z - 26.04.2022 23:17

ty so much!! Its very useful

Ответить
rajat meshram
rajat meshram - 02.03.2022 12:33

as you go to reselect date the first selected date get refreshed ,how can we get the same selected date on calander.

Ответить
James Stark
James Stark - 05.02.2022 05:08

What is the context if you are not in main activity, or not in an activity at all for that matter. i.e., I am in a fragment?

Ответить
Jom
Jom - 01.02.2022 18:58

Thanks so much, I'm making an event planner and this is just what i needed

Ответить
Kronk with a Gun
Kronk with a Gun - 05.11.2021 04:13

Does not work

Ответить
Grozdan Andonov
Grozdan Andonov - 19.10.2021 11:48

Great video! I was wondering how to add constraints in the date picker dialog so that some dates are not clickable?

Ответить
mxgenius
mxgenius - 27.09.2021 06:41

Something is not right, your month is not correct.

Ответить
knz
knz - 26.08.2021 07:45

sir why when im selecting a month the number isnt right? like in your video when u pick month May, the number is showing 04 which is for APRIL?

Ответить
Am Pa
Am Pa - 10.06.2021 12:33

Thanks, Mitch. I wish I could watch you for all the coding videos. As a side note, why do people use the Dracula setting?

Ответить
Alibek Shokhnazarov
Alibek Shokhnazarov - 04.06.2021 08:28

Great tutorial thanks!

Ответить
Yami Howard
Yami Howard - 31.05.2021 07:11

Helped me a ton, thank you!

Ответить
victor d
victor d - 17.05.2021 19:03

Thats the worst way of picking a date ever, having to scroll through every month, i wonder who was the brilliant person who came up with that

Ответить
Lubuntum Leto
Lubuntum Leto - 19.02.2021 21:25

guys, how make spinner in java code, methods setSpinnerShow and setCalendarViewShown dont work, while dont know why

Ответить
Prithvi B
Prithvi B - 07.12.2020 11:12

How do I prevent a date in the past from being selected?

Ответить
Denner Rosa
Denner Rosa - 07.11.2020 01:21

Thanks man

Ответить
Siddharth Chugh
Siddharth Chugh - 20.10.2020 04:07

Hi, The video is useful , but How to prefix zero when the date and month is less than 10.

Ответить
Miguel Angel Pasillas Luis
Miguel Angel Pasillas Luis - 23.09.2020 02:50

thanks man, just what i was looking for.

Ответить
Justin Ceaser
Justin Ceaser - 22.09.2020 17:02

Need Some help for date picker.
Over the device android 7.0
Month in default datePickerDialog displays in format of M+Number such as for September 2020 it shows M09.

I'm unable to resolve the issue even looking for the solution. Even applying the Locale for calender, still issue persist

It wolud be great if someone could help.

Ответить
rego:at
rego:at - 21.09.2020 00:41

Java ?😯

Ответить
Ibrahim Mohamed
Ibrahim Mohamed - 30.08.2020 15:14

nice tutorial,thank you

Ответить
Narottam World
Narottam World - 22.07.2020 21:29

How, can i store it into mysql database...

Ответить
Iulia Stoica
Iulia Stoica - 05.06.2020 14:11

Hello thanks for the tutorial, it works excellent. but if i want to select 2 dates ( for say start date and end date for one event ) and with two textviews to store the start and end date, the second text view always clears the data from the first textview when i choose the end date from the calendar. Any ideas ? :D

Ответить
Paul Hawksworth
Paul Hawksworth - 11.05.2020 15:11

My context: this, and listener: this, are in red and the app wont run says i have unbound prefix...

Ответить
Haider Jaafer
Haider Jaafer - 16.04.2020 03:46

hi friend Mitch how can display the datepicker in arabic thank alot

Ответить
Juli Mastieri
Juli Mastieri - 25.03.2020 22:50

Thank you!

Ответить
Meow Meow
Meow Meow - 19.03.2020 19:20

How to setmindate a datepicker from another datepicker? I'm really confussed

Ответить
sorry fu
sorry fu - 14.02.2020 10:53

thank you

Ответить
Just Relex
Just Relex - 05.02.2020 22:34

very very helpfull this tutorial

Ответить
Just Relex
Just Relex - 05.02.2020 22:34

thanks bro

Ответить
FreddVincent
FreddVincent - 28.01.2020 22:08

*+1 because January is zero *
String selectedDate = day + " / " + (month+1) + " / " + year;

Ответить
Kaushal Pande
Kaushal Pande - 14.01.2020 12:47

I'm having problem with MaterialCalendarView, Highlighting particular date/dates on calendar.... Can you help please?

Ответить
Hassan Saleem
Hassan Saleem - 23.11.2019 12:11

Thanx Sir How to do it in fragment theres a error while passing 2nd parameter so kindly guide what to do?

Ответить
Cristian Ruano
Cristian Ruano - 30.10.2019 06:47

Good Video :)

Ответить
Nguyen Ngoc Chau
Nguyen Ngoc Chau - 29.10.2019 03:56

Thank you, nice tutorial!

Ответить
GrumpyOldMan
GrumpyOldMan - 13.09.2019 11:07

Why did you do another video on Date Picker Dialog? This first looks simpler, as it didn't require any implementation.

Ответить
Javier David Hernández Estrada
Javier David Hernández Estrada - 22.08.2019 02:52

Muchas gracias

Ответить
Mark Geimil Tajan
Mark Geimil Tajan - 27.07.2019 09:24

how to make it in spinner?

Ответить
Myriam Walden-Duarte
Myriam Walden-Duarte - 16.07.2019 09:10

Thank you so much!
I needed to have two calendar pickers in the same view to update two different TextView components. I have tried lots of different ways, this tutorial was just what I needed to get there!!!

Ответить
Kevin Alfaro
Kevin Alfaro - 09.06.2019 02:07

Hey Mitch, thanks for your help. Is there any way of changing the theme of the DateTimePicker?

Ответить
Narayan Bhat
Narayan Bhat - 08.06.2019 12:02

how to add from date and end date in same page?

Ответить
Daryll Swer
Daryll Swer - 11.04.2019 14:13

How do we implement this exact same thing for Time Picker?

Ответить
Pasons Pro
Pasons Pro - 30.03.2019 16:55

can you do a video about android threading, UI and Background?

Ответить
Ankur Gupta
Ankur Gupta - 18.03.2019 09:43

Sir can you please make a one video on marker when tap by user show bottom sheet ?

Ответить
Poonam Arora
Poonam Arora - 16.03.2019 06:01

Sir how to implement website API in android webview ?

Ответить
Fit Indian Dev
Fit Indian Dev - 15.03.2019 11:29

New to android development have worked on small projects need some guidance do you have any live sessions. It would be a great help if i could contact you any how.

Ответить
jo pad
jo pad - 12.03.2019 11:43

Thanks Mitch !!! Cheers !!!

Ответить
Pemba Tamang
Pemba Tamang - 12.03.2019 07:55

I like the spinner type date picker.

Ответить
Carlos Perez
Carlos Perez - 12.03.2019 07:12

Looks cool!! What if I want to use this code in more activities or fragments without copy/paste? Or if I'm using MVVM architecture? Thanks Mitch

Ответить