Closed accounts01 closed 2 years ago
StaggeredGridView.layoutChildren() can trigger an NPE when it removes child Views because it iterates on the original number of child Views.
Solved this by adjusting the looping condition and the increment (so we don't skip over new ith element).
also looks like all 3 commits ended up in 1 pull request. :'(. let me know if this is a problem and/or how to fix it please.
StaggeredGridView.layoutChildren() can trigger an NPE when it removes child Views because it iterates on the original number of child Views.
Solved this by adjusting the looping condition and the increment (so we don't skip over new ith element).