Open Source Address: Https://github.com/JakeWharton/butterknife
Reference:
1.http://www.jianshu.com/p/4f7338ef806e
2.http://blog.csdn.net/itjianghuxiaoxiong/article/details/50177549
Butterknife is a compile-time annotation that does not incur a burden at run time, and after the build project you will find that it generates the required code, that is, it does not use reflection or generates code at run time, so it does not cause any performance problems or affect the application speed.
Usage Experience:
1.Activity Butterknife.bind (this), must be in Setcontentview (); After, and after the parent class bind, the subclass does not need to bind
2.Fragment Butterknife.bind (this, mrootview);
3. Property layout cannot be decorated with private or static, otherwise it will be an error
4.setContentView () cannot be implemented by annotations. (Some other annotated frameworks can)
1. Alternative Findviewbyid ()
2. Setting up Monitoring
Android Injection Frame Butterknife