pull/37/head
kunfei 5 years ago
parent d551568784
commit 3b007ea8ac
  1. 1
      app/src/main/java/io/legado/app/ui/widget/recycler/RefreshRecyclerView.kt

@ -20,6 +20,7 @@ class RefreshRecyclerView(context: Context?, attrs: AttributeSet?) : LinearLayou
var onRefreshStart: (() -> Unit)? = null var onRefreshStart: (() -> Unit)? = null
init { init {
orientation = VERTICAL
LayoutInflater.from(context).inflate(R.layout.view_refresh_recycler, this, true) LayoutInflater.from(context).inflate(R.layout.view_refresh_recycler, this, true)
recycler_view.setOnTouchListener(object : OnTouchListener { recycler_view.setOnTouchListener(object : OnTouchListener {
@SuppressLint("ClickableViewAccessibility") @SuppressLint("ClickableViewAccessibility")

Loading…
Cancel
Save