优化 #5462
This commit is contained in:
@@ -257,7 +257,8 @@ class SearchActivity : VMBaseActivity<ActivityBookSearchBinding, SearchViewModel
|
|||||||
scrollToBottom()
|
scrollToBottom()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
val bottom = abs(lastView.bottom - recyclerView.height)
|
val bottom =
|
||||||
|
abs(lastView.bottom - recyclerView.height) - recyclerView.paddingBottom
|
||||||
if (bottom <= 1) {
|
if (bottom <= 1) {
|
||||||
scrollToBottom()
|
scrollToBottom()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user