Комментарии:
Very helpful
Ответитьyou are using kotlin data class which has equality check out of the box. No need to check every individual field
ОтветитьSo happy you’re posting more frequently these day like you did back in the day. Also love that you’re using all the new stuff, jetpack, coroutines, nav etc. I remember back when you used to do everything in the activity class and name all your variables starting with “m” 😂
ОтветитьHey Mitch did you build your website yourself?
ОтветитьCan i use this with Firebase Recycler Adapter?
ОтветитьSimple, & Understandable
ОтветитьHello Mitch please use android studio dark mode i watching your video at night and white theme is problem watching at night Please
ОтветитьListViews hate this one weird trick
ОтветитьWait is the MVI course already done? That means you are slowly going to start releasing parts of the powerful android app right?
ОтветитьHey i have added a recyclerview in a fragment which is in a bottom navigation it becomes super slow when i add admob ads between them. How can i make it faster.
ОтветитьI Liked It , It's So Simple And Awesome Explanation
Enjoyed a lot
Thanks Mitch
whats about the java and android studio !
ОтветитьIt's simple and easy to understand, thank for this video.
Ответитьi really hate the way u teach, i have been watching ur video for data binding on plurasight and i was really un happy the way u made us to copy codes and load different versions of the same project, i recommend my be u show us how to update the current project to be compartible with ur new project's module. I really like Jim Wills courses at plurasight, please work around this, remember android studio takes time loading a new project. Please work around that, otherwise u are a best teacher
Ответитьi actually don't recommend anyone for ur courses. Please remember that we take ur courses because u don't know and really want to know, please take time and make us know because we are paying our money we worked for for such course. Be like jim wills on plurasight. let me try other courses of yours at plurasight and learn more about android
ОтветитьThanks for your tutorial. Now the issue am having is that, I am fetching data from room db. When I'm using livedata to observe and update new items or change the order of my items (eg from order by id to Order by name) the focus of the new items starts from the position of the item I was previously viewing before changing the order, whereby I have to manually scroll to the top in order to see the first item. How do make my new updated list starts the focus from top of the RecyclerView. Thanks allot.
Ответитьhey how can we use this in groupie adapter
Ответитьin arecontentsame method we can compare the 'data class' object by using == right??
Ответитьwe can use Material dependency. it has recyclerView too, right ?!
override fun areItemsTheSame(oldItemPosition: Int, newItemPosition: Int): Boolean {
return (oldBlogList[oldItemPosition].pk == newBlogList[newItemPosition].pk)
}
override fun getOldListSize() = oldBlogList.size
override fun getNewListSize() = newBlogList.size
override fun areContentsTheSame(oldItemPosition: Int, newItemPosition: Int): Boolean {
return oldBlogList[oldItemPosition] == newBlogList[newItemPosition]
}
}
we can use like this too
Hi Mitch, If we have more than one list as pert of adapter. how to handle that. e.g if i have list of urls and list of names.
thanks.
It is a very useful tutorial. How to use DiffUtil in the groupie library. Thank you for your tutorial.
ОтветитьYou should make an app for your website that can have like a sololearn experience where you display the codes in a tabbed activity for each course. Like that we would get access to older courses, upcoming courses with the codes displayed in a tabbed activity with like 3-4 sections such as Dependency tab, Xml tab, Java tab etc...
ОтветитьHow to make sure it's working the right way ? Is there testing available for the following?
ОтветитьCould've showed us how to use it atleast
ОтветитьHey Mitch, I have to ask If we have two Recyclerviews say (Horizontal and Vertical) in same layout.Then Do we have to create 4 Diffutil class in our adapters, two in Main Adapter (Because we have two different types of list for each child Recyclereview ) and each one in child adapter ??
ОтветитьThanks bro !
ОтветитьHow to create pagination through scroll listener in recycler view
ОтветитьAmazing work! Do you code reviews? I am about to launch an app but I want to someone to review it.
ОтветитьIn Kotlin it states Call replaceable with binary operator and wants me to replace the equals method with == operator. This is just a warning and not an error but I am wondering if its a good idea to do what it says.
ОтветитьThank you for the great lecture. But i was LOL when you said google did good job on the documentation. Google documentation is the worst...
ОтветитьMany Thanks Mitch
ОтветитьHidden Treasure!!!
ОтветитьI think reassign "items" with new list is not
the best practice, it should be same reference
great video
Ответитьmich how can i sort a data after diffutil analyze it
ОтветитьWhy did you override equals method despite using data class?
ОтветитьHey Mitch, noob here. Great vid as always. Many thanks.
ОтветитьThe data class already has a default equals() implementation. I don't know why you still created your own implementation for it. Also, you can just extend DiffUtil.ItemCallback. Since you really only need areContentsTheSame() and areItemsTheSame().
ОтветитьThank you :)
ОтветитьYou are awesome . Thanks for your tutorial
ОтветитьAwesome man! Why do you have the toString fun in the data class? It is already given to you.
ОтветитьThanks Mitch
ОтветитьMitch ..but what about you want to change the size the list...from the UI, without DiffUtil is easier with getItemCount .. but how to do it with DIffUtil??
thank u in advance man..your channel rocks!!!
very good video 🤓
ОтветитьHey @Mitch,
Tried this got confused bcse when i update only one item, still bind gets called for each item in the list. I was expecting only one item to get rebinded to UI
One subscription added by watching this Video!!😍😍
Ответить