Foursquare-CollectionPicker
Foursquare-CollectionPicker copied to clipboard
app:cp_itemTextColor causes crash
How to reproduce:
In xml layout, set
app:cp_itemTextColor="@android:color/black"
Runtime Exception shows that CollectionPicking is trying to interpret a resolved color (0xFF000000) as a color id.
I think the issue is that
this.mTextColor = typeArray.getColor(R.styleable.CollectionPicker_cp_itemTextColor, mTextColor);
gives you a resolved color int, not an id int, if passed in via xml. Fixable by passing resolved color to View, and setting private int mTextColor = 0xFFFFFFFF;
Hi was there a fix for this? Having the same issue