jmartinesp / SpannedGridLayoutManager

Android RecyclerView.LayoutManager that resizes and reorders views based on SpanSize
MIT License
600 stars 105 forks source link

Span width value more than available #8

Closed jaumard closed 7 years ago

jaumard commented 7 years ago

For now if I put span 4 and on item span.width = 6, it crash, would be nice to have a dedicated error for this case. Also a mode to allow higher values to narrow down to max span automatically and be safe.

jmartinesp commented 7 years ago

Your idea and PR were good, but I implemented it on a different method so it would crash earlier. Thanks 👍 .