Android Kotlin for beginners 2022. part 16 | DatePicker #setOnDateChangedListener Android Studio

70 Просмотры
Издатель
Here I will tell you how to be an android developer by building simple Android apps on Android Studio, using the Kotlin language.
this is the 16th video of the playlist; in this video, I will show you how to use a DatePicker and set it on a TextView by using a Button.


You can find the source codes of this video here:
https://github.com/MohsenMashkour/DatePickerExample


Previous videos of the course:
https://youtube.com/playlist?list=PLEGrY4uRTu5kYTgRxHhEEp2c1TU09KNt7
---------------------------------------------------
Timestamps:
00:15 Introduction
00:30 Add a TimePicker to the activity
01:00 Change the position of the textView
01:20 Adding a Button
03:20 First check the app
04:42 Initializing the widgets
06:32 Set function setOnClickedListener to the button
06:45 Initialize three variables for the year, month, and day
08:00 Set the text on the textView
08:40 Test the app
10:02 Set Function setOnDateChangedListener to the DatePicker
11:30 Test the app
12:16 Ending

---------------------------------------------------
My website:
https://www.mkrdeveloper.com/
.
.
.
.
My Instagram:
https://www.instagram.com/mkr.developer/
.
.
.
.
#Android
#kotlin
#kotlin_course
#android_tutorial_beginners
#android_developers
#DatePicker
#اندروید
#برنامه_نویسی_اندروید
#کاتلین
#دیت_پیکر
Категория
Язык программирования Kotlin
Комментариев нет.