RecyclerView-FlexibleDivider
RecyclerView-FlexibleDivider copied to clipboard
Add support annotations for pixel dimension and color int
Today I spent half an hour debugging why nothing shows in my recycler.
I called size(R.dimen.home_item_spacing)
instead of sizeResId(R.dimen.home_item_spacing)
which resulted in a huge divider spacing.
These changes will make lint warn about that problem and some related problems (margins an color ints).
@yqritc can you take a look at this? It's fairly straightforward and really helpful.
Any time for this small, yet very useful change?
@yqritc Hello there, can you review and merge this?