feat: 优化

pull/226/head
gedoor 5 years ago
parent a2c86950d7
commit 2490538fd9
  1. 4
      app/src/main/java/io/legado/app/help/AdapterDataObserverHeader.kt

@ -3,8 +3,8 @@ package io.legado.app.help
import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.RecyclerView
internal class AdapterDataObserverHeader( internal class AdapterDataObserverHeader(
var adapterDataObserver: RecyclerView.AdapterDataObserver, private var adapterDataObserver: RecyclerView.AdapterDataObserver,
var headerCount: Int private var headerCount: Int
) : RecyclerView.AdapterDataObserver() { ) : RecyclerView.AdapterDataObserver() {
override fun onChanged() { override fun onChanged() {
adapterDataObserver.onChanged() adapterDataObserver.onChanged()

Loading…
Cancel
Save