android butterknife 框架 注解

http://www.tuicool.com/articles/If6ruey

http://jakewharton.github.io/butterknife/

@InjectView(R.id.title) TextView title;
@OnClick(R.id.submit)
public void submit(View view) {
  // TODO submit data to server...
}

 

posted on 2015-03-11 14:31  wjw334  阅读(114)  评论(0编辑  收藏  举报

导航