|
|
@ -24,7 +24,7 @@ import org.jetbrains.anko.sdk27.listeners.onLongClick |
|
|
|
class ExploreAdapter(context: Context, private val scope: CoroutineScope, val callBack: CallBack) : |
|
|
|
class ExploreAdapter(context: Context, private val scope: CoroutineScope, val callBack: CallBack) : |
|
|
|
SimpleRecyclerAdapter<BookSource>(context, R.layout.item_find_book) { |
|
|
|
SimpleRecyclerAdapter<BookSource>(context, R.layout.item_find_book) { |
|
|
|
|
|
|
|
|
|
|
|
var exIndex = 0 |
|
|
|
private var exIndex = 0 |
|
|
|
|
|
|
|
|
|
|
|
override fun convert(holder: ItemViewHolder, item: BookSource, payloads: MutableList<Any>) { |
|
|
|
override fun convert(holder: ItemViewHolder, item: BookSource, payloads: MutableList<Any>) { |
|
|
|
with(holder.itemView) { |
|
|
|
with(holder.itemView) { |
|
|
|