|
|
@ -237,15 +237,6 @@ class PageView(context: Context) : FrameLayout(context) { |
|
|
|
|
|
|
|
|
|
|
|
fun scroll(offset: Int) { |
|
|
|
fun scroll(offset: Int) { |
|
|
|
binding.contentTextView.scroll(offset) |
|
|
|
binding.contentTextView.scroll(offset) |
|
|
|
// if (offset > 0) { |
|
|
|
|
|
|
|
// for (i in 1..offset) { |
|
|
|
|
|
|
|
// binding.contentTextView.scroll(1) |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// } else { |
|
|
|
|
|
|
|
// for (i in offset..-1) { |
|
|
|
|
|
|
|
// binding.contentTextView.scroll(-1) |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
fun upSelectAble(selectAble: Boolean) { |
|
|
|
fun upSelectAble(selectAble: Boolean) { |
|
|
|