Open nima-ahmadi opened 2 years ago
According to the DiffUtil.ItemCallback documentation , and as the names suggest, areItemsTheSame should be checking if the IDs are the same and areContentsTheSame should be checking if the contents are the same.
DiffUtil.ItemCallback
areItemsTheSame
areContentsTheSame
@nfischer 👋 Hi, sorry I wasn't sure who to tag to get a review on this (saw your review on another PR)
@MagicalMeghan 👋 Hi, any thoughts?
According to the
DiffUtil.ItemCallback
documentation , and as the names suggest,areItemsTheSame
should be checking if the IDs are the same andareContentsTheSame
should be checking if the contents are the same.