issues
search
500px
/
greedo-layout-for-android
Full aspect ratio grid LayoutManager for Android's RecyclerView
MIT License
1.64k
stars
156
forks
source link
Fix GreedoLayoutSizeCalculator FixHeight mode pos index error
#56
Closed
zhiweideng
closed
4 years ago
zhiweideng
commented
4 years ago
What's in this PR?
Set mIsFixedHeight in GreedoLayoutSizeCalculator to true, When
hasValidItemSlacks
returns false, then you need to reduce a child, so
pos
also needs to be reduced by 1.
What's in this PR?
hasValidItemSlacks
returns false, then you need to reduce a child, sopos
also needs to be reduced by 1.