GridLayoutManager: scroll limit check
ScrollMin/Max are only updated when we added first/last
view or where fastRelayout may change first/last view position.
It's not necessary to invalidate the first/last view position
in every layout pass since most time they are the same.
however, we should invalidate scrollmin/max when the first/last
is not visible yet but current visible items already grow out
of the scrollmin/max range.
Tested on TV and tablet.
TODO: scrollMin/Max on secondary axis.
b/15414917
Change-Id: I125025a5865df69316dadc612b52b67d8f27a250
3 files changed