First, the principle.
Recently found a very useful open source framework, pretty good, can simplify your code, is about annotations. Not much to say directly into the use of steps to explain.
Second, step.
1, the preparation stage, first to the official website (http://jakewharton.github.io/butterknife/) on the jar package, download down.
2, the download down the jar package, put in the project Libs, will automatically import the project.
3, the configuration eclips, the mouse alignment needs the annotation item, right click Poperties–>java compiler–>
Annotation procession–> hook to Enable project specific settings The others will automatically hook up.
–> Factory Path (Hook enable project specific settings) –> last add .... JARs the jar package that was just downloaded. This eclips configuration is possible.
Android butterknife Framework Configuration