[修复] 发现页某些情况下没有加载最后一页的问题
This commit is contained in:
@@ -239,7 +239,7 @@ fun ExploreShowScreen(
|
||||
derivedStateOf {
|
||||
val totalItems = listState.layoutInfo.totalItemsCount
|
||||
val lastVisibleIndex = listState.layoutInfo.visibleItemsInfo.lastOrNull()?.index ?: 0
|
||||
totalItems > 0 && lastVisibleIndex >= totalItems - 9
|
||||
totalItems > 0 && lastVisibleIndex >= totalItems - 5
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user