marcglasberg / indexed_list_view

Flutter package: Similar to a ListView, but lets you programmatically jump to any item, by index.
BSD 2-Clause "Simplified" License
251 stars 21 forks source link

loading more data #26

Closed taozhipeng1990 closed 4 years ago

taozhipeng1990 commented 4 years ago

This is a great plugin. However, when I use it, I cannot load more data. I try to load it when judging the index range in itemBuilder, Or judge index<-10 or index>length+10 in emptyItemBuilder, But the effect is not ideal.

这是一个很棒的插件。 但是,我在使用时,无法实现加载更多数据。 我尝试在 itemBuilder 中 判断 index范围时 进行加载、 或是在 emptyItemBuilder 中 判断 index<-10 or index>length+10, 但是效果都不理想。

marcglasberg commented 4 years ago

Ok, but what exactly is the problem and what's your proposed solution?