Тёмный
No video :(

RecyclerView with ViewBinding (replaces findViewById) 

Mafia Codes
Подписаться 44 тыс.
Просмотров 8 тыс.
50% 1

#StayHome #WithMe
In this video you will learn how to use #viewBinding with #recyclerView. We will use the binding class inside the constructor of viewHolder to create new view holders, and then bind the relevant data using view binding.
Viewbinding is a feature that allows you to more easily write code that interacts with views. Once view binding is enabled in a module, it generates a #bindingClass for each XML layout file present in that module. An instance of a binding class contains direct references to all views that have an ID in the corresponding layout.
In most cases, view binding replaces #findViewById.
⭐ 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...
Note: View binding is available in Android Studio 3.6 Canary 11+.
FREE $100 credit @Digital Ocean: m.do.co/c/3208...
Patreon: / trulymittal
Subscribe: www.youtube.co...
ViewBinding: • View Binding, replace ...
GitHub (Tutorial): github.com/tru...
ViewBinding: developer.andr...
RecyclerView: developer.andr...
---------------
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

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@maheshgharage8480
@maheshgharage8480 2 года назад
Way of explanation is great
@mafiacodes
@mafiacodes 2 года назад
Subscribe like share
@studio2038
@studio2038 3 года назад
Nice video will explained it help me.
@philipowino-jofon
@philipowino-jofon Год назад
This tutorial has realy helped me. Thank you
@dilnaekio
@dilnaekio 3 года назад
Thank you for your video. No one except you give us clear informations about RecyclerView and Binding View on internet... Unbelievable :')
@codinghooman
@codinghooman 4 года назад
Thank you brother for such nice tutorials. Can you make a room db tutorial with the multiple table with primary & foreign key connections ?? It will be very helpful for many people like me who are searching for a nice tutorial on this topic.
@harishreddy8247
@harishreddy8247 4 года назад
thanks for good explanation and englis and voice clarity
@mnico3017
@mnico3017 4 года назад
Nice job, It's very helpful.
@dfurrow01
@dfurrow01 3 года назад
Very helpful and allowed me to set mine up. Thanks!
@iftak01
@iftak01 3 года назад
you are God!! you have this topic with different widgets and view thank you!
@harishreddy8247
@harishreddy8247 4 года назад
super exxplanation sir please do videos on databing and show diiference databinding and view through code
@mafiacodes
@mafiacodes 4 года назад
Okay, subscribe like share
@maheshgharage8480
@maheshgharage8480 2 года назад
Sir great explanation, Are there any vedio on learning java
@mdjahidulislam9205
@mdjahidulislam9205 3 года назад
thanks
@h.r.60
@h.r.60 4 года назад
Amazing.
@dennisgonzales9521
@dennisgonzales9521 4 года назад
Thanks for this!
@somethingviral1937
@somethingviral1937 4 года назад
Bro dont know how u have less followers....u deserve more buddy....but any way app ke learning ho rahi hai....can u tell me how to get numbering recycler view
@mafiacodes
@mafiacodes 4 года назад
numbering as in ?
@somethingviral1937
@somethingviral1937 4 года назад
@@mafiacodes thanks for fast reply....its done now i tried and it worked
@rogercolque
@rogercolque 4 года назад
Nice. I saw in some tutorials that use a constructor in adapter to pass the List instead the method updateMovieList ? this is better ? or works only with viewbinding
@mafiacodes
@mafiacodes 4 года назад
Works with or without viewbinding. The choice is urs I also prefer it this way.
@dennisgonzales9521
@dennisgonzales9521 4 года назад
Constructor better
@mafiacodes
@mafiacodes 4 года назад
Any specific reason?
@Sudhindra3000
@Sudhindra3000 4 года назад
Thanks for the Video. Can you make a video on Shared Element Transition in Fragments using Navigation Component. There are not a lot of resources on this topic. And the ones which are available are only in Kotlin. Can you do using Java. Thanks.
@mafiacodes
@mafiacodes 4 года назад
Will try to make.
@iamshakiransari
@iamshakiransari 3 года назад
What editor theme you use?
@mehulbisht9708
@mehulbisht9708 4 года назад
how do you have that multicolored text, i mean i don't think me using kotlin makes it unavailable in all 3 themes, darcula , intelliJ and high contrast , is that a custom theme you are using ? EDIT : also, why in 2020 would you still make android tutorials in java and not kotlin ? TIP : You should do a poll i think , most people will vote for Kotlin tutorials !!
@mafiacodes
@mafiacodes 4 года назад
Its Google's developer theme
@sno-oze
@sno-oze 4 года назад
@@mafiacodes may I ask you to share link for download this theme? thanks
@ashrafmakandar3370
@ashrafmakandar3370 4 года назад
please do a mvvm crud video with firebase and java
@mehulpanchal7539
@mehulpanchal7539 4 года назад
Sir how to get rid from this error occur while debugging plez help......... E/Exception is: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.View.findViewById(int)' on a null object reference
@mafiacodes
@mafiacodes 4 года назад
You can NEVER get this exception unless ur using findvirebyid, incase ur getting rebuild ur project. If issue doesn’t resolve share code on GitHub
@mehulpanchal7539
@mehulpanchal7539 4 года назад
@@mafiacodes thanks you sir 😊
@kishortalukdar4441
@kishortalukdar4441 3 года назад
Ar a yr...thora slow bolo...na...
Далее
Creating the Options Menu
15:42
Просмотров 4 тыс.
娜美这是在浪费食物 #路飞#海贼王
00:20
Recycler View with complete explanation | Android
24:56
RecyclerView Item Click | Best Practice Way
8:06
Просмотров 94 тыс.
Android ViewBinding in 8 Minutes
8:59
Просмотров 76 тыс.
View Binding in Android Development
9:05
Просмотров 2,2 тыс.