No video

android date picker dialog example | DatePickerDialog - Android Studio Tutorial | Kotlin

  Рет қаралды 5,737

Coding with Dev

Coding with Dev

Күн бұрын

Hello, and Welcome to the #CodingWithDev​ channel!
In this tutorial, you will learn how to create a Date Picker in an Android app using Kotlin.
The tutorial covers the following key points:
• Implementing Date Picker: You will learn how to add a Date Picker widget to your app's layout XML file and how to reference it in your Kotlin code.
• Showing the Date Picker dialog: The tutorial will show you how to display a Date Picker dialog when a button is clicked. The dialog will allow the user to pick a date from a calendar.
• Handling date selection: You will understand how to capture the date selected by the user in the Date Picker dialog and display it on the Text View or perform other actions with the selected date.
Please 👍𝐋𝐢𝐤𝐞 ,👤𝗦𝗵𝗲𝗮𝗿,✎𝐂𝐨𝐦𝐦𝐞𝐧𝐭 And ☝𝐒ᴜʙ𝐒ʀɪʙᴇ My 𝗬𝗢𝗨𝗧𝗨𝗕𝗘 Channel
𝗰𝗹𝗶𝗰𝗸 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘃𝗶𝗱𝗲𝗼𝘀 - / codingwithdev​
Follow 𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤 - / coding-with-. .

Follow 𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦 - / codingwithdev

Follow 𝐆𝐢𝐭𝐡𝐮𝐛 - github.com/dev...

Follow 𝐌𝐞𝐝𝐢𝐮𝐦 - / devendrac706

𝐅𝐨𝐫 𝐁𝐮𝐬𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐪𝐮𝐢𝐫𝐢𝐞𝐬
-codingwithdev@gmail.com
𝐒ᴜʙ𝐒ʀɪʙᴇ My 𝗬𝗢𝗨𝗧𝗨𝗕𝗘 Channel #𝗰𝗼𝗱𝗶𝗻𝗴𝘄𝗶𝘁𝗱𝗲𝘃​ for more latest videos..
/ codingwithdev​
Thank You :-)
#Android #AndroidStudio #kotlin #KotlinAndroidAppDevelopement #datepicker #dateandtime #kotlinprogramming #popup #dialog #date #time
#androidtutorialforbeginners #androidtutorials #beginners #androidappdevelopment #androidprogramming

Пікірлер: 7
@alsi9217
@alsi9217 6 ай бұрын
Many thankses!
@gabrieldasilvalopes390
@gabrieldasilvalopes390 9 ай бұрын
Thank you very much
@aziznr5705
@aziznr5705 10 ай бұрын
hi, thanks for your videos, how can i disable past date
@ogulcank0
@ogulcank0 Жыл бұрын
how can ı disable weekend at datepickerdialog like setmin method
@CodingwithDev
@CodingwithDev Жыл бұрын
Hello, Thanks for watching, You can disable any specific date using setDisabledDays() method. Please check the below code //Disable all SUNDAYS and SATURDAYS between Min and Max Dates for (Calendar loopdate = min_date_c; min_date_c.before(max_date_c); min_date_c.add(Calendar.DATE, 1), loopdate = min_date_c) { int dayOfWeek = loopdate.get(Calendar.DAY_OF_WEEK); if (dayOfWeek == Calendar.SUNDAY || dayOfWeek == Calendar.SATURDAY) { Calendar[] disabledDays = new Calendar[1]; disabledDays[0] = loopdate; datePickerDialog.setDisabledDays(disabledDays); } }
@ogulcank0
@ogulcank0 Жыл бұрын
ı am trying this code in kotlin but it has a problem Unresolved reference: setDisabledDays @@CodingwithDev
@Voxiislive
@Voxiislive 6 ай бұрын
4:55 'this' is not defined in this context
The Most Legendary Programmers Of All Time
11:49
Aaron Jack
Рет қаралды 555 М.
Oh No! My Doll Fell In The Dirt🤧💩
00:17
ToolTastic
Рет қаралды 13 МЛН
We Built an App in 24 Hours [No Code]
11:56
Raw Startup
Рет қаралды 426 М.
DatePickerDialog with Fragment - Kotlin
9:27
geekofia
Рет қаралды 6 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 169 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 399 М.
SAVING DATA IN SHARED PREFERENCES - Android Fundamentals
11:17
Philipp Lackner
Рет қаралды 38 М.
Implementation of SQLite Database in Android using Kotlin
1:34:32
Dr. Parag Shukla
Рет қаралды 16 М.
📅 DatePicker en Kotlin (Selector fecha) - Tutorial Android Studio
20:01
Programación Android by AristiDevs
Рет қаралды 22 М.
Oh No! My Doll Fell In The Dirt🤧💩
00:17
ToolTastic
Рет қаралды 13 МЛН