google / flexbox-layout

Flexbox for Android
Apache License 2.0
18.24k stars 1.79k forks source link

Fix the issue item decorations are not included for judging if wrapping is required. #541

Open thagikura opened 4 years ago

thagikura commented 4 years ago

Now RecyclerView#getItemDecorationCount and RecyclerView#getItemDecorationAt are exposed, retrieving the decoration length for each view is possible.

This PR takes the length of the decorations into account when judging if a line wrapping is required.

sriharshachilakapati commented 1 year ago

Any update on this PR?