我开始使用 Butterknife,但现在我的局部变量声明面临一个问题,即我被迫使用 Butterkinfe.findbyid(view,id)。有没有办法在这里使用注释
例如:
private void setText(){
TextView textView=Butterknife.findbyid(view,R.id.xyz);
}
我正在寻找@Bind(R.id.xyz) TextView textview;
我开始使用 Butterknife,但现在我的局部变量声明面临一个问题,即我被迫使用 Butterkinfe.findbyid(view,id)。有没有办法在这里使用注释
例如:
private void setText(){
TextView textView=Butterknife.findbyid(view,R.id.xyz);
}
我正在寻找@Bind(R.id.xyz) TextView textview;