修改弃用方法

pull/921/head
gedoor 4 years ago
parent 65f2880920
commit da465d871d
  1. 1
      app/src/main/java/io/legado/app/ui/widget/recycler/scroller/FastScrollRecyclerView.kt

@ -151,6 +151,7 @@ class FastScrollRecyclerView : RecyclerView {
mFastScroller.attachRecyclerView(this)
val parent = parent
if (parent is ViewGroup) {
parent.removeView(mFastScroller)
parent.addView(mFastScroller)
mFastScroller.setLayoutParams(parent)
}

Loading…
Cancel
Save