From 3b007ea8ac4a1b4894662f64514087ddad290d59 Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 18 Oct 2019 16:46:39 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/widget/recycler/RefreshRecyclerView.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/ui/widget/recycler/RefreshRecyclerView.kt b/app/src/main/java/io/legado/app/ui/widget/recycler/RefreshRecyclerView.kt index 35e165a26..8fcc56d2c 100644 --- a/app/src/main/java/io/legado/app/ui/widget/recycler/RefreshRecyclerView.kt +++ b/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 init { + orientation = VERTICAL LayoutInflater.from(context).inflate(R.layout.view_refresh_recycler, this, true) recycler_view.setOnTouchListener(object : OnTouchListener { @SuppressLint("ClickableViewAccessibility")