@ -74,9 +74,11 @@ class ChangeBookSourceAdapter(
override fun registerListener(holder: ItemViewHolder, binding: ItemChangeSourceBinding) {
holder.itemView.setOnClickListener {
getItem(holder.layoutPosition)?.let {
if (it.bookUrl != callBack.bookUrl) {
callBack.changeTo(it)
}
holder.itemView.onLongClick {
showMenu(holder.itemView, getItem(holder.layoutPosition))