Support textColor, not resource id
kjsolo opened this issue · comments
TextView tv_title = findViewById(R.id.tv_title);
String breadCrumb = year + " >";
SimpleText simpleTextBC = SimpleText.from(breadCrumb)
.all(">")
.bold()
.textColor(R.color.colorWhite);
tv_title.setText(simpleTextBC);
I am getting the error on .textColor Line
Attempt to invoke virtual method 'int android.content.Context.getColor(int)' on a null object reference
hi @Sarosh-Madara in which device you faced this issue. i also had this issue but can't figure out on which device it's happening. so it will be great if you provide some more info about device. thanks