diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt index 6b946f7d0..a170ac02a 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/ContentTextView.kt @@ -105,4 +105,13 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at } return null } + + fun selectStartMove(x: Float, y: Float) { + + } + + fun selectEndMove(x: Float, y: Float) { + + } + } diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt index 1651f7d6e..4f6a0dad4 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt @@ -126,11 +126,11 @@ class ContentView : FrameLayout { } fun selectStartMove(x: Float, y: Float) { - + content_text_view.selectStartMove(x, y) } fun selectEndMove(x: Float, y: Float) { - + content_text_view.selectEndMove(x, y) } fun scrollTo(pos: Int?) {