From 0a66bee80f955ba982085b573a885dbf14a03813 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 18 Feb 2020 21:47:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ui/book/read/page/delegate/SimulationPageDelegate.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/delegate/SimulationPageDelegate.kt b/app/src/main/java/io/legado/app/ui/book/read/page/delegate/SimulationPageDelegate.kt index 672c5381e..4280ac417 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/delegate/SimulationPageDelegate.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/delegate/SimulationPageDelegate.kt @@ -162,6 +162,12 @@ class SimulationPageDelegate(pageView: PageView) : HorizontalPageDelegate(pageVi } override fun onScrollStop() { + prevBitmap?.recycle() + prevBitmap = null + nextBitmap?.recycle() + nextBitmap = null + curBitmap?.recycle() + curBitmap = null if (!isCancel) { pageView.fillPage(mDirection) }