Open joseantoniocampillo opened 3 years ago
https://github.com/android/views-widgets-samples/blob/f22069a57d5df0b58ce0be08086c3e9db35870b8/RecyclerViewKotlin/app/src/main/java/com/example/recyclersample/flowerList/FlowersAdapter.kt#L78
According to the documentation it should be the opposite.
Relevant docs for this are here: https://developer.android.com/reference/androidx/recyclerview/widget/DiffUtil.ItemCallback
This code is still not in alignment with the docs.
https://github.com/android/views-widgets-samples/blob/f22069a57d5df0b58ce0be08086c3e9db35870b8/RecyclerViewKotlin/app/src/main/java/com/example/recyclersample/flowerList/FlowersAdapter.kt#L78
According to the documentation it should be the opposite.