Android Data Binding Tutorial | Android Architecture Components Hindi- CheezyCode #7

  Рет қаралды 47,030

Cheezy Code

Cheezy Code

3 жыл бұрын

Learn what is Data Binding in Android along with a simple example explaining why we need this data binding library in android. Data Binding Library is also part of Jetpack Components Libraries i.e. Android Architecture Components. Learn what is data binding object, data binding layout & DataBindingUtil class. Learn all this about Android Jetpack Components in Hindi by creating small projects.
These components help in writing clean code and helps in following clean architecture in android. Everything is explained in Hindi (हिंदी में )
Topics Covered -
1. What is DataBinding?
2. What is the need of Data Binding Library in Android?
3. Simple Example of DataBinding with Data Binding Layout and DataBindingUtil class
4. Complete Example of Android App with DataBinding and declaratively binding of views.
ViewModel Concept -
• Android ViewModel Tuto...
ViewModelFactory -
• Android ViewModel Fact...
Beginner series in Android Playlist (Hindi) -
• Android Tutorials Step...
Kotlin Beginners Tutorial Series -
• Kotlin Beginner Tutori...
Source Code -
github.com/CheezyCode/Quotify...
For more info - visit the below link
www.cheezycode.com
We are social. Follow us at -
Facebook - / cheezycode
Twitter - / cheezycode
Instagram - / cheezycode

Пікірлер: 98
@rushikeshthak2874
@rushikeshthak2874 3 жыл бұрын
Great sir... Nice explained 🔥 Please cover all advance topic in android coz your way of explain is easy to understand.
@mr.hancock3056
@mr.hancock3056 2 жыл бұрын
Awesome Explanation. Favorite Channel Forever😀😀
@shakeelnawaz4776
@shakeelnawaz4776 7 ай бұрын
Great great explanation. Your every video teach every topic easily. best way to teach.
@govindchoudhary3177
@govindchoudhary3177 3 жыл бұрын
Sir thanks lot , me ye video series ki kab se wait kar raha tha
@ShubhamSinghMusic
@ShubhamSinghMusic 3 жыл бұрын
Best series❣️❣️
@pbtapk1037
@pbtapk1037 2 жыл бұрын
Man you are so amazing !!!!!! the explantion is so good just liked the video thank
@nishakhatoon7267
@nishakhatoon7267 Жыл бұрын
OMG seriously it's amazing explanation .
@Suman522i1
@Suman522i1 2 жыл бұрын
you providing very expensive knowledge in simple way
@CheezyCode
@CheezyCode 2 жыл бұрын
Thanks Suman
@islamicinsightbysaifi
@islamicinsightbysaifi 3 жыл бұрын
Bahut Badhiya, Achha Explain kiya
@sulmanrasheed007
@sulmanrasheed007 2 жыл бұрын
Thank you soo much sir. Keep on going..
@a_72_saquibsheikh44
@a_72_saquibsheikh44 2 жыл бұрын
Thank you bro. Keep it up!!!
@sunilnraikar409
@sunilnraikar409 2 жыл бұрын
Thank u sir ,Nice explanation
@viralthakar164
@viralthakar164 5 ай бұрын
Nice tutorials ever
@shubhamkumargupta3478
@shubhamkumargupta3478 Жыл бұрын
Lovely videos 🤩
@EducationSimplified
@EducationSimplified 3 жыл бұрын
Awesome Teaching
@sudhirthanki
@sudhirthanki Жыл бұрын
Your whole series and the way you explain is excellent!
@CheezyCode
@CheezyCode Жыл бұрын
Thanks 😊
@rahatshah2452
@rahatshah2452 Жыл бұрын
Best tutorial sir
@siddharthtakpere5925
@siddharthtakpere5925 2 жыл бұрын
As expected your all videos and series are too good. 👍👌
@CheezyCode
@CheezyCode 2 жыл бұрын
Thanks Siddharth
@samirmishra3738
@samirmishra3738 2 жыл бұрын
Thanks a lot sir
@nisarullah7734
@nisarullah7734 3 жыл бұрын
Amazing
@Ab-no6rz
@Ab-no6rz 3 жыл бұрын
Thank you, sir
@muneebahmed17
@muneebahmed17 2 жыл бұрын
Awsome 5 star
@shreyashchoudhary7413
@shreyashchoudhary7413 3 жыл бұрын
Loved it!
@CheezyCode
@CheezyCode 3 жыл бұрын
Thank you Shreyash 👍
@deepakprajapati5064
@deepakprajapati5064 2 жыл бұрын
Best explanation, thanks
@CheezyCode
@CheezyCode 2 жыл бұрын
Thank you Deepak
@zoro9878
@zoro9878 2 жыл бұрын
Thank you so much for this tutorial. You've just got a new subscriber :)
@CheezyCode
@CheezyCode 2 жыл бұрын
Thanks ☺️
@AkashJhaDDN
@AkashJhaDDN 3 жыл бұрын
Thanks sir
@dhawalbahe2181
@dhawalbahe2181 2 жыл бұрын
I am feeling like i got jackpot ....ur knowledge and the way u r explaining is too good .....really so much helpful...
@CheezyCode
@CheezyCode 2 жыл бұрын
Thank you and all the best with the knowledge you gain out it....Cheers
@gunjansharma6934
@gunjansharma6934 2 жыл бұрын
Really Nice Tutorial helped me a lot. Thank You So much
@CheezyCode
@CheezyCode 2 жыл бұрын
Thank you Gunjan 🤘
@ghumakkad7509
@ghumakkad7509 2 жыл бұрын
Thanks
@FreeKnowledge
@FreeKnowledge 3 жыл бұрын
👌👌👌
@mayankchoudhary3096
@mayankchoudhary3096 2 жыл бұрын
great video sir!
@CheezyCode
@CheezyCode 2 жыл бұрын
Thanks!
@vivektpss62
@vivektpss62 2 жыл бұрын
Great explanation man !
@CheezyCode
@CheezyCode 2 жыл бұрын
Thanks man!
@dhruvtambekar
@dhruvtambekar 3 жыл бұрын
data binding itna easy ho skta tha, thanks bhai'
@CheezyCode
@CheezyCode 3 жыл бұрын
Thanks Dhruv 🤘
@Nithin_Coorg
@Nithin_Coorg Жыл бұрын
Crisp!
@CheezyCode
@CheezyCode Жыл бұрын
🤘
@itssaj7329
@itssaj7329 2 жыл бұрын
thank you
@CheezyCode
@CheezyCode 2 жыл бұрын
You're welcome
@AmitKumar-lj4dm
@AmitKumar-lj4dm Жыл бұрын
sirf data binding ke through view karaye wo better hai ya data class add karke view karaye . dono me difference kya hai .
@ziyauddinansari4150
@ziyauddinansari4150 2 жыл бұрын
If you plan to use data binding in a Kotlin project, you should apply the kotlin-kapt plugin ??
@CheezyCode
@CheezyCode 2 жыл бұрын
If you are not doing any annotation processing - kapt not required. For instance if you use binding adapters then you need kotlin-kapt
@kundangupta1333
@kundangupta1333 2 жыл бұрын
Plz make video on java
@nimeshluhana4796
@nimeshluhana4796 2 жыл бұрын
Very Good Explanation.!
@CheezyCode
@CheezyCode 2 жыл бұрын
Thank you Nimesh 👍
@nimeshluhana4796
@nimeshluhana4796 2 жыл бұрын
😊
@nimeshluhana4796
@nimeshluhana4796 2 жыл бұрын
One question, you mentioned that when we make any changes to the data, it automatically reflects in the XML. So the code that you have shown, is that enough to update the UI?
@CheezyCode
@CheezyCode 2 жыл бұрын
Yes....actual mei jo variable define kiya hai uski properties bind hui hai views ke saath...jaise he unn properties ka data change hoga wo apne aap update hojayega
@Nikhil-Gupta
@Nikhil-Gupta 2 жыл бұрын
This weekend... Jatin bhaiya ki Jetpack Series🚀 Following today's 7th video.
@CheezyCode
@CheezyCode 2 жыл бұрын
Thanks Nikhil 👍🤘
@my_love_sanatan
@my_love_sanatan 2 жыл бұрын
Why to use binding when kotlin already provide this feature?
@naveenjaiswal7835
@naveenjaiswal7835 Жыл бұрын
excellent ,but you speak fast need important in this area
@neerajverma9226
@neerajverma9226 3 жыл бұрын
Please make video on pagging 3.0
@sanitbandekar
@sanitbandekar 3 жыл бұрын
Memory leak matlab kya hota hai
@maheshgharage8480
@maheshgharage8480 2 жыл бұрын
Pl make vedio for sqlite
@spacegyaan2171
@spacegyaan2171 3 жыл бұрын
After JetPack Compose, is it still require to learn about data binding?
@CheezyCode
@CheezyCode 3 жыл бұрын
No - jetpack compose use kar rahe ho toh na XML na data binding ki jaroorat hai
@arpitkhandelwal2999
@arpitkhandelwal2999 3 жыл бұрын
Is there any difference b/w view binding or data Binding Because I think both are same to remove find view id or something else ??
@CheezyCode
@CheezyCode 3 жыл бұрын
View Binding is subset of data binding. Will be covering this in upcoming videos. Stay tuned bro
@RajanShukla
@RajanShukla 3 жыл бұрын
View binding is a part of Data Binding.
@user-iy9ty9er8g
@user-iy9ty9er8g 2 жыл бұрын
sir fragment ma... hum Binding use kar sakte hai kyu, ki mera fragments ma.. yeh private lateinit var binding: ActivityMainBinding nahi show ho raha hai
@CheezyCode
@CheezyCode 2 жыл бұрын
Fragment ki binding fragment ke layout ke naam se banegi...onCreateView pe access karoge
@apunichjohncena4533
@apunichjohncena4533 Жыл бұрын
Sir, I have confusion for a very long time, we can achieve the objective of this video with the help of live data observers and data-binding both, so why do both exist? Is there any specific use case for them or do we need to use both of them in MVVM?
@CheezyCode
@CheezyCode Жыл бұрын
Say you have a full object that needs to be used on your layout. For every property in that object you need to bind them - with data binding you pass the object to the layout - layout will bind the values for you. Hope this helps...
@apunichjohncena4533
@apunichjohncena4533 Жыл бұрын
@@CheezyCode yes sir it helps, thank you. After seeing the next videos of this playlist, you cleared my all doubts, thanks a lot🥰
@name1566
@name1566 Жыл бұрын
bro can we connect on linkedin?
@aasmohammad2651
@aasmohammad2651 Жыл бұрын
data binding is automatic in android studio from 2021 october
@debojitdas9026
@debojitdas9026 9 ай бұрын
just in case bindingdata true is not working 1. use viewBinding = true in gradle instead 2. in MainActivity put "binding = ActivityMainBinding.inflate(layoutInflater)" 3. Dont delete setContentView , instead put setContentView(binding.root)
@aakashbhalani9955
@aakashbhalani9955 3 жыл бұрын
when to use data binding or livedata if both has the same purpose to update views please clear my doubt :)
@CheezyCode
@CheezyCode 3 жыл бұрын
Dono ka purpose alag hai - live data ek observable h - usse data ke baare mei update milti hai ki data update hogya hai...but uss data se kya karna hai wo hamare upar hai... Data binding mei views ko bind karte h uss data se. Isse pehle wale video mei btaya tha ki observer call hota hai..uske andar hum khud se text set kar rahe the...ek baar wo wala video revisit karo concept clear hojayega... Live Data is Observable Data Holder Data binding is binding your views to data.
@abhinavsrivastava8615
@abhinavsrivastava8615 2 жыл бұрын
Can you please provide a tutorial for BLE (Bluetooth Low Energy)? I need it urgently for my existing project. I can also pay for it. Please reply.
@CheezyCode
@CheezyCode 2 жыл бұрын
not possible right now ☹️
@GAGANDEEP901
@GAGANDEEP901 2 жыл бұрын
but shouldn't the binding be written in ViewModel class?
@CheezyCode
@CheezyCode 2 жыл бұрын
ViewModel is independent of View
@jatinvashisht4293
@jatinvashisht4293 3 жыл бұрын
Sir I have a question. If we are about to make app from scratch. Should we use compose or xml? Because Google is also pushing compose.
@CheezyCode
@CheezyCode 3 жыл бұрын
If you have command on Compose - use that. If not then use XML. XML is not going anywhere. Aur app ke case mei mvp banao, launch karo, see the reactions and act accordingly
@jatinvashisht4293
@jatinvashisht4293 3 жыл бұрын
@@CheezyCode ok sir, and thank you so much for replying this fast. Also one more help if you donot mind. Which other youtube channels would you suggest for learning android. Which have same quality content like you?
@CheezyCode
@CheezyCode 3 жыл бұрын
Documentation and CodeLabs pe Jo solutions hai
@jatinvashisht4293
@jatinvashisht4293 3 жыл бұрын
@@CheezyCode ok sir, I was already following that. Thank you very much for replying 😊
@Mohit-il9gx
@Mohit-il9gx 2 жыл бұрын
End ka Background music bhi upload kar do 👏
@CheezyCode
@CheezyCode 2 жыл бұрын
jaldi he
@frankfernandes718
@frankfernandes718 3 жыл бұрын
lagta hai kotlin shikna padega kitne lines of code bache java se
@TheTechnobie
@TheTechnobie 3 жыл бұрын
Can you make an app in java Like book app complete from log in Activity to play store publication.? a complete playlist. It will be really helpful .
@HarveySpecterYT
@HarveySpecterYT 3 жыл бұрын
Java Bad :3
@TheAbhidugar
@TheAbhidugar 3 жыл бұрын
DataBinding toh deprecate ho gayi hai...
@CheezyCode
@CheezyCode 3 жыл бұрын
Who said this? View binding is one more way to do such thing but it is a subset.
@TheAbhidugar
@TheAbhidugar 3 жыл бұрын
@@CheezyCode I attended one online class from ex-Zomato engineer there he said that. Only ViewBinding is used and is the way to replace findViewById calls.
@CheezyCode
@CheezyCode 3 жыл бұрын
Data binding has more functionality than view binding. In a project you can use both. There are other reasons why people say use view binding. Build time is faster in case of view binding and you can't play with data in the XML file.
View Binding vs Data Binding - Explained | Android Development
5:09
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 21 МЛН
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 23 МЛН
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
Mini Katana
Рет қаралды 29 МЛН
ViewModels & Configuration Changes - Android Basics 2023
18:46
Philipp Lackner
Рет қаралды 110 М.
Android Developer: this is for you!! | Tanay Pratap Hindi
8:46
Tanay Pratap
Рет қаралды 81 М.
Android ViewBinding in 8 Minutes
8:59
Philipp Lackner
Рет қаралды 76 М.
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 21 МЛН