优化
This commit is contained in:
@@ -501,9 +501,6 @@ class BookInfoActivity :
|
||||
refreshLayout.isRefreshing = false
|
||||
refreshBook()
|
||||
}
|
||||
refreshLayout?.setOnChildScrollUpCallback { _, target ->
|
||||
target!!.canScrollVertically(-1) || tvIntro.hasSelection()
|
||||
}
|
||||
}
|
||||
|
||||
private fun setSourceVariable() {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1">
|
||||
|
||||
<ScrollView
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:id="@+id/scroll_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
@@ -374,7 +374,7 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user