so i'm getting error when lint check:
error: expected resource of type layout [resourcetype] final edittimeadapter adapter = new edittimeadapter(getcontext(), options, textcolor); (squiggly line under textcolor)
here's code complaining about:
public void settextcolor(@colorres int textcolor) { final edittimeadapter adapter = new edittimeadapter(getcontext(), options, textcolor);
and constructor edittimeadapter:
public edittimeadapter(context context, list<localtime> objects, @colorres int color) { super(context, objects); this.color = color; }
so uhm understanding: 1) should reporting error "color" , not "layout", , 2) shouldn't error. know up?
Comments
Post a Comment