mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-09-01 10:27:57 +00:00
Load more items even if initial related items are empty
This commit is contained in:
@@ -237,6 +237,8 @@ public abstract class BaseListInfoFragment<I extends InfoItem, L extends ListInf
|
||||
if (!result.getRelatedItems().isEmpty()) {
|
||||
infoListAdapter.addInfoItemList(result.getRelatedItems());
|
||||
showListFooter(hasMoreItems());
|
||||
} else if (hasMoreItems()) {
|
||||
loadMoreItems();
|
||||
} else {
|
||||
infoListAdapter.clearStreamItemList();
|
||||
showEmptyState();
|
||||
|
Reference in New Issue
Block a user