You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LabelsView提供的方法都是对标签列表的整体设置。不过可以在LabelTextProvider中对标签项进行单独设置的,可以在这里单独设置标签的颜色。
labelsView.setLabels(testList, new LabelsView.LabelTextProvider() { @OverRide
public CharSequence getLabelText(TextView label, int position, TestBean data) {
您好,我是LabelsView控件的使用者,,感谢您的开源,我有一个需求,是这样的
LabelsView的每一个子条目标签的颜色都不一样
比如第一个标签颜色为红 第二个为黑 第三个为绿,我自己定义了一个数组存放,这样颜色值,通过随机数的方式来设置,这些颜色值,但是LabelsView 目前好像只支持LabelsView 整体标签的颜色是吗? 如果不是 如何设置呢?
The text was updated successfully, but these errors were encountered: