list is empty
CatEatFishs opened this issue · 1 comments
CatEatFishs commented
When I switch requests the LoadMoreList will show error .for this ,Invalid value: Valid value range is empty: 1
The solution is added the judgment where in Loading_more_base file,
this methods
@OverRide
T operator [](int index) {
// TODO: implement []
if(index<_array.length-1) {
return _array[index];
}
}
zmtzawqlp commented
@CatEatFishs please update the lastest version