feat: 优化代码

pull/167/head
kunfei 5 years ago
parent 78a2f6ce2f
commit 8395ad61f6
  1. 2
      app/src/main/java/io/legado/app/ui/main/explore/ExploreAdapter.kt

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

Loading…
Cancel
Save