Closed jkyeo closed 7 years ago
In SlimMoreLoader::onScrollStateChanged() method. In some case, it cased ArrayIndexOutOfBoundsException: length=0; index=-1.
Well, it comes from findLastCompletelyVisibleItemPosition return -1 ---> getItem(-1).
The adapter position of the last fully visible view or NO_POSITION if there aren't any visible items. int NO_POSITION Constant Value: -1 (0xffffffff)
This case happens when the item is height enough to no one completely visible on the screen.
Looking forward to version update on maven. 👍
In SlimMoreLoader::onScrollStateChanged() method. In some case, it cased ArrayIndexOutOfBoundsException: length=0; index=-1.
Well, it comes from findLastCompletelyVisibleItemPosition return -1 ---> getItem(-1).
This case happens when the item is height enough to no one completely visible on the screen.