https://kotlinlang.org logo
Title
u

user

06/20/2022, 10:21 AM
Android DiffUtil Doesn't Notify Properly I was following along the Android Room With a View tutorial. The tutorial makes use of DiffUtil to compute changes in the list and update the RecyclerView accordingly. However, when removing or adding items to the RecyclerView, DiffUtil always causes the entire RecyclerView to reload, instead of calling the correct notifyItemRemoved or notifyItemInserted. My Adapter: class...