|
|
@ -29,7 +29,6 @@ class SearchAdapter : PagedListAdapter<SearchBook, SearchAdapter.MyViewHolder>(D |
|
|
|
override fun areContentsTheSame(oldItem: SearchBook, newItem: SearchBook): Boolean = |
|
|
|
override fun areContentsTheSame(oldItem: SearchBook, newItem: SearchBook): Boolean = |
|
|
|
oldItem.name == newItem.name |
|
|
|
oldItem.name == newItem.name |
|
|
|
&& oldItem.author == newItem.author |
|
|
|
&& oldItem.author == newItem.author |
|
|
|
&& oldItem.originCount == newItem.originCount |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|