From 1b9449b622be7ebcb66fe6552ef53edda448c743 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 23 Sep 2019 08:15:22 +0800 Subject: [PATCH] up --- .../io/legado/app/ui/widget/page/delegate/PageDelegate.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt b/app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt index 96483e499..b83e4bc88 100644 --- a/app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt +++ b/app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt @@ -3,7 +3,6 @@ package io.legado.app.ui.widget.page.delegate import android.graphics.Bitmap import android.graphics.Canvas import android.graphics.RectF -import android.text.method.ScrollingMovementMethod import android.view.GestureDetector import android.view.MotionEvent import android.widget.Scroller @@ -49,10 +48,6 @@ abstract class PageDelegate(protected val pageView: PageView) { ) } - private val scrollingMovementMethod: ScrollingMovementMethod by lazy { - ScrollingMovementMethod() - } - private val detector: GestureDetector by lazy { GestureDetector( pageView.context,