No video

Data Binding - Introduction - How to use & enable data binding in an Android application

  Рет қаралды 31,302

Mafia Codes

Mafia Codes

Күн бұрын

In this video you will learn how to use #DataBinding inside an #android project.
We will also be creating a #BindingAdapter for our image view to be used with a #Glide libarary
The Data Binding Library offers both flexibility and broad compatibility-it's a support library, so you can use it with devices running Android 4.0 (API level 14) or higher.
It's recommended to use the latest Android Plugin for Gradle in your project. However, data binding is supported on version 1.5.0 and higher.
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! www.kite.com/g...
FREE $100 credit @Digital Ocean: m.do.co/c/3208...
Subscribe: www.youtube.co...
Support the channel:
Paypal: www.paypal.me/...
Patreon: / trulymittal
GitHub (Tutorial): github.com/tru...
DataBinding: developer.andr...
Glide Library: github.com/bum...
Related Videos:
ViewBinding: • View Binding, replace ...
ViewModel & LiveData: • View Model | Live Data...
NavigationComponent: • Navigation Component |...
RecyclerView: • Recycler View with com...
---------------
More useful videos
---------------
RecyclerView: • Recycler View with com...
ViewModel: • View Model | Live Data...
NavigationComponent: • Navigation Component |...
WorkManager: • Work Manager | Android...
Retrofit: • RETROFIT Tutorial (v 2...
CollapsingToolbar Layout: • Collapsing Toolbar Lay...
BottomNavigation View: • Bottom Navigation View...
KeyframeAnimations: • Keyframe Animations wi...
NightMode: • Night Mode | Dark Mode...
ButterKnife: • Butter Knife | Field a...
SplashScreen: • Splash screen | Launch...
Singletons: • Singletons | What When...
Pull to Refresh in RecyclerView: • Pull to Refresh in Rec...
On item click using Interface in RecyclerView: • RecyclerView item Clic...
Swipe gestures in Recycler View: • Swipe gestures in Recy...
Drag and drop Reorder in Recycler View: • Drag and drop Reorder ...
Filter using #SearchView in RecyclerView: • Filter RecyclerView us...
MultiView RecyclerView: • Multi view RecyclerVie...
---------------
Other useful Playlists
---------------
Android: • Android
#Firebase: • Firebase | Build a Not...
#RestAPI (#NodeJS and MongoDB): • REST API using NodeJS ...
Docker: • Docker
MongoDB: • Learn MongoDB in 50 mi...
Html/Css/Js: • HTML / CSS / JS
Challenges: • Challenges
---------------
What I use
---------------
Mouse: amzn.to/2O9RJtu
Keyboard: amzn.to/2qxajCU
Keyboard 2: amzn.to/2XDWH4X
Monitor: amzn.to/2pDg7dH
Processor: amzn.to/347WWIb
RAM: amzn.to/2QEkUqw
Graphics: amzn.to/33aBrF4
Microphone: amzn.to/2DabdI9
#yoursTRULY #tutorial #howto #android

Пікірлер: 86
@androqz1476
@androqz1476 3 жыл бұрын
How long time I losted for understand it and you can teaching me it in 24 min. Amazing, thanks.
@ThreadsX
@ThreadsX 3 жыл бұрын
Thanks a lot, I don't think no one can explain like this. Thank you so much
@tommyndhlovu5455
@tommyndhlovu5455 2 жыл бұрын
Best Explanation of data binding.. woooow
@chisomemmanuel6160
@chisomemmanuel6160 Жыл бұрын
I've been using viewBinding but never knew that dataBinding covers all and extends it's application into ViewModelling . Thanks, so much brother
@nikhilaggarwal7727
@nikhilaggarwal7727 4 жыл бұрын
Thank you very much, I was tired of searching for lectures on Android Architecture. finally found your channel, keep going and I request you to make a video covering all about android architecture jetpack thank you once again
@nikhilaggarwal7727
@nikhilaggarwal7727 4 жыл бұрын
please keep doing the same in JAVA or if you shift in Kotlin make another video in JAVA🙏
@tarunasharma4477
@tarunasharma4477 3 жыл бұрын
woww great for a beginner ....me as a beginner found this a best video
@user-ow1he8qm2h
@user-ow1he8qm2h Жыл бұрын
Great lesson! Thanks a lot :)
@AnkitSingh-ut7et
@AnkitSingh-ut7et 3 жыл бұрын
khatarnak explaination
@nerviantone
@nerviantone Жыл бұрын
This is an amazing tutorial. Thank You very much.
@oknok2330
@oknok2330 3 жыл бұрын
Your explanation and flow of video is awesome 🔥🔥😄
@mafiacodes
@mafiacodes 3 жыл бұрын
Thank you 🙌
@techinshort7388
@techinshort7388 3 жыл бұрын
thank you so much i was stuck in it before one hour
@user-vi2im5fi9i
@user-vi2im5fi9i 2 жыл бұрын
The most insightful explanation of Data Binding I've ever seen! Thank you sir, keep up the good job and make some more Android videos! Like + Subscription👍
@nishakhatoon7267
@nishakhatoon7267 Жыл бұрын
Valuable, it's simply amazing😍👍
@ehmaugbogo
@ehmaugbogo 3 жыл бұрын
Wow! This truly reflected the title. Amazing one man ❤️👍
@rushikeshthak2874
@rushikeshthak2874 3 жыл бұрын
Thanks sir.... Great explanation with deep knowledge and explain everything... 👍 Fantastic
@mkc0321
@mkc0321 3 жыл бұрын
amazing video
@sumitbandal3384
@sumitbandal3384 3 жыл бұрын
Simple explanation 🙏👍
@bloodops3893
@bloodops3893 4 жыл бұрын
Thanks, nice job man. You can simplify creating data binding layout tags, must have cursor on root layout, next, on Windows alt+enter (on Mac option+return) and choose create data binding layout.
@mafiacodes
@mafiacodes 4 жыл бұрын
Yes ur right
@anandpai3150
@anandpai3150 2 жыл бұрын
This was so helpful brother ❤️ Much needed 🤟
@neerajahlawat7393
@neerajahlawat7393 2 жыл бұрын
Thanks very clear explanation
@mafiacodes
@mafiacodes 2 жыл бұрын
subscribe like share
@neerajahlawat7393
@neerajahlawat7393 2 жыл бұрын
@@mafiacodes I already done this
@s.m.omarsharif435
@s.m.omarsharif435 2 жыл бұрын
This is a great video to understand DataBinding. Please do the video in Java for all Android Architecture components. Thanks a lot.
@mafiacodes
@mafiacodes 2 жыл бұрын
I have done almost all android tutorials in java, watch these playlists: kzfaq.info/get/bejne/iNh2nrRn1J2UlGg.html kzfaq.info/get/bejne/pdWAa86czdy2gX0.html kzfaq.info/get/bejne/qLSJlKh30Zyqnac.html kzfaq.info/get/bejne/p7VlabZ9nZuaqJc.html kzfaq.info/get/bejne/b9iTpbx3tJfTl5c.html Subscribe like share
@arindaanthony8025
@arindaanthony8025 2 жыл бұрын
Thanks alot. This video helped
@moattia9126
@moattia9126 11 ай бұрын
awesome, thanks
@sureshprajapati-kk4ck
@sureshprajapati-kk4ck 3 жыл бұрын
nice explanation brother keep it.
@mafiacodes
@mafiacodes 3 жыл бұрын
Thanks and welcome
@schoolbari3859
@schoolbari3859 3 жыл бұрын
Awsome tutorial.
@gibraanjafar1669
@gibraanjafar1669 3 жыл бұрын
Another fantastic video. Thanks
@RoastedRoastedChana
@RoastedRoastedChana 3 жыл бұрын
Thankyou sir
@deepvirenderkaur2724
@deepvirenderkaur2724 3 жыл бұрын
Reaaly helped me thanks. for this amazing video
@third_space_officials
@third_space_officials 3 жыл бұрын
Healthy tutorial, 👍
@rdyrodney
@rdyrodney 2 жыл бұрын
Ótimo vídeo! BRASIL
@rushidalvi5895
@rushidalvi5895 3 жыл бұрын
thanks man
@glowdemoglowsis8452
@glowdemoglowsis8452 3 жыл бұрын
Exactly got what I need thanks a lot 🌹
@JCFain
@JCFain 3 жыл бұрын
Great video! Just what I needed, thanks!
@ali_abou_bakr
@ali_abou_bakr 4 жыл бұрын
Keep going doing great things ♥️
@vinayTshetty
@vinayTshetty 3 жыл бұрын
wow superb explanation. Very simple and effective.. Thanks for providing it.. U have videos on MVC,MVM,MVP model on android. Please make videos on this. As there is no video tutorials available. If your channel is having videos of the that playlist please provide the link.
@gaminglegend5741
@gaminglegend5741 4 жыл бұрын
Awesome video
@kumarbharani2718
@kumarbharani2718 4 жыл бұрын
Bro try to video on constraint layout
@jeevananthamn7532
@jeevananthamn7532 3 жыл бұрын
viewBinding.enabled = true Add this also, then only that working properly
@mafiacodes
@mafiacodes 3 жыл бұрын
Viewbinding and data binding are different bro.
@user-cs4dl3kk8r
@user-cs4dl3kk8r 3 жыл бұрын
Thx man!
@vaibhavbhardwaj6899
@vaibhavbhardwaj6899 4 жыл бұрын
great video 👌👌
@shramanjain11
@shramanjain11 4 жыл бұрын
thank you for uploading this it is very helpful can you please post a video about two way binding or about how to bind in edit text
@neerajverma9226
@neerajverma9226 4 жыл бұрын
please make video on SingleLiveEvent it most importance topic when using ViewModel or Livedata in our project
@kish00n
@kish00n 4 жыл бұрын
Thanks, keep going.
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@kish00n
@kish00n 4 жыл бұрын
@@mafiacodes I always suggest your videos to new learners. Cos, your videos are very easy to understand. 😀
@vaghaniishan379
@vaghaniishan379 3 жыл бұрын
How to pass parameter in onClick button from user class?
@shubhambhakuni9306
@shubhambhakuni9306 4 жыл бұрын
Whats the difference between data binding and view bindings?
@mafiacodes
@mafiacodes 4 жыл бұрын
watch at 17:45 where I implement view binding along with data binding and you will get your answer.
@anudeepananth
@anudeepananth 4 жыл бұрын
Your videos and explanations are great.. But when do you plan to move to Kotlin?
@mafiacodes
@mafiacodes 4 жыл бұрын
Very soon!
@syedovaiss
@syedovaiss 4 жыл бұрын
Waiting for your video in which i can learn mvvm+data binding with kotlin
@mafiacodes
@mafiacodes 4 жыл бұрын
Mvvm Databinding coming in a couple of days but with Java 😉 - remember one thing java code can be easily ported to kotlin but reverse is not true.
@gibraanjafar1669
@gibraanjafar1669 3 жыл бұрын
@@mafiacodes thanks for sticking with Java. Really grateful for your work.
@himanshukandwal8710
@himanshukandwal8710 3 жыл бұрын
Can we use view binding and data binding at the same time?
@mafiacodes
@mafiacodes 3 жыл бұрын
Yes, it’s explained in my MVVM series
@victory4627
@victory4627 3 жыл бұрын
at 5:22, In the second way of setting the content view, where are we setting the layout id, Please clarify this.
@mafiacodes
@mafiacodes 3 жыл бұрын
I think ur asking about this ActivityMainBinding.inflate(getLayoutInflater()) , that here we are not providing a layout id, if yes, then the answer is that: This class ActivityMainBinding is automatically generated from the layout file so therefore No need to reference the layout itself...
@mickmaszt4485
@mickmaszt4485 2 жыл бұрын
Im looking for the code you used in this tutorial as Im unable to use glide for some reason, I went to your github and only shows the codelab from google. Do you still have the code from this video on github?
@mafiacodes
@mafiacodes 2 жыл бұрын
These repos might help: github.com/trulymittal/DataBinding_intro github.com/trulymittal/DataBinding_RecyclerView
@mickmaszt4485
@mickmaszt4485 2 жыл бұрын
@@mafiacodes I'll give th a try thank you!
@emadeldin1999
@emadeldin1999 4 жыл бұрын
thank you very much..
@mafiacodes
@mafiacodes 4 жыл бұрын
Google developers theme, and font Operator Mono
@yasminedwedar8651
@yasminedwedar8651 3 жыл бұрын
what theme are you using please ?
@mafiacodes
@mafiacodes 3 жыл бұрын
Google developers
@yasminedwedar8651
@yasminedwedar8651 3 жыл бұрын
@@mafiacodes how do i download
@yasminedwedar8651
@yasminedwedar8651 3 жыл бұрын
i meant the color theme ?
@yasminedwedar8651
@yasminedwedar8651 3 жыл бұрын
@@mafiacodes i meant the color theme ..
@mafiacodes
@mafiacodes 3 жыл бұрын
Yup that’s the name of theme
@siva_subramaniam
@siva_subramaniam Жыл бұрын
05:11
@yasminedwedar8651
@yasminedwedar8651 3 жыл бұрын
Unable to start the daemon process PLEASE HELP ​ @yoursTRULY i tried this solution below by its still not working 1.Open the projects gradle.properties file in android studio 2.Added this line at end of file org.gradle.jvmargs=-Xmx1024m & Save the file 3.Close & reopen the project
@mafiacodes
@mafiacodes 3 жыл бұрын
May be this can help: stackoverflow.com/questions/25009717/android-studio-gradle-project-unable-to-start-the-daemon-process-initializatio
@mohit9967
@mohit9967 2 жыл бұрын
how to reach you in person?mail or anything?need to talk
@mohit9967
@mohit9967 2 жыл бұрын
@@mafiacodes whenever you are free,do check your inbox please
@mehulbisht9708
@mehulbisht9708 4 жыл бұрын
have you made a video on using Facebook for developers (developers.facebook.com) to sign In / Log In - using Facebook accounts yet ? If not, can you please make one or help me with that bhai ? I'm working on a project and they want a Facebook sign In too.....Google sign In was much easier to implement but it feels that something is missing in the Facebook's documentation. I have nearly watched every tutorial out there and i think Facebook changed something recently which is causing this because even following a 4 months old tutorial isn't working for me, i just can't move after the OnError() method inside the Facebook Callback. Any help appreciated from your side !
@syedovaiss
@syedovaiss 4 жыл бұрын
kzfaq.info/get/bejne/p6d-bK6KzbW3lZc.html
@mehulbisht9708
@mehulbisht9708 4 жыл бұрын
@@syedovaiss already watched it, didn't work
@mafiacodes
@mafiacodes 4 жыл бұрын
If u want u can use Facebook auth with firebase In the most simple way but if u prefer only Facebook auth then it’s a nice idea I’ll prepare a video for the same in some time
@mehulbisht9708
@mehulbisht9708 4 жыл бұрын
@@mafiacodes appreciate it, I implemented it now though was just missing the hash key
Data Binding with Recycler View (including Button clicks)
20:22
Mafia Codes
Рет қаралды 20 М.
Android ViewBinding in 8 Minutes
8:59
Philipp Lackner
Рет қаралды 76 М.
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
You won't BELIEVE what I just did with TanStack's React Tables!
35:58
What is data binding?
13:56
vaadinofficial
Рет қаралды 9 М.
Recycler View with complete explanation | Android
24:56
Mafia Codes
Рет қаралды 41 М.
Android Data Binding: Getting Started
46:04
CodingWithMitch
Рет қаралды 97 М.
Popup menu inside a RecyclerView
12:28
Mafia Codes
Рет қаралды 20 М.
Data Binding - Beginner's Guide to Android App Development
26:10
Model View View-Model (MVVM): Getting Started
29:12
CodingWithMitch
Рет қаралды 397 М.
View Binding vs Data Binding - Explained | Android Development
5:09
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН