Adding widgets on a fragment. (button and text view) Android studio | Kotlin
In this video, I will show you how to add widgets like buttons and textView on a Fragment. And I will tell you about the differences between initializing widgets on a Fragment and on an Activity.
If you like the content, buy me a coffee by clicking on this link.☕☕☕
https://www.buymeacoffee.com/mkrdeveloper
You can find the source codes of this video here: https://github.com/MohsenMashkour/fragmentExample
Related videos:
Button: https://youtu.be/p8WnDwZoS0Q
TextView: https://youtu.be/hJiO25JHvSQ
How to use a fragment: https://youtu.be/Iw48mkFwPUs
Everything about fragments:
Kotlin beginner course:
—————————————————
Timestamps:
00:00 Introduction
01:15 Layout design
02:16 Initializing the widgets(find views)
04:49 setOnClickListener
05:29 Test the app
06:01 Ending
—————————————————
My website:
https://www.mkrdeveloper.com/
.
.
.
.
My Instagram:
https://www.instagram.com/mkr.developer/
.
.
.
.
#Android
#kotlin
#kotlin_course
#android_tutorial_beginners
#android_developers
#fragments
#اندروید
#برنامه_نویسی_اندروید
#کاتلین
Views :7
android studio