"Go" Eclipse set up Butterknife for annotated development steps--good

Source: Internet
Author: User

Original URL: http://www.bubuko.com/infodetail-974262.html

Recently, in the study of developing Android annotations, we are trying to use Butterknife. The characteristics of Butterknife are as follows:

(1) powerful and convenient handling of view bindings and click events, simplifying code and improving development efficiency.
(2) Easy to handle the Viewholder binding problem in the adapter of the ListView.
(3) The operation will not affect the efficiency of the app, the use of convenient configuration;
(4) Code thinking clear, readable;

Below I do a simple operation in Eclipse, how to import Butterknife-6.1.0.jar into the Android project for annotated development. The steps are as follows:

[1]. Copy the Butterknife-6.1.0.jar to the project's Libs directory;

[2]. Project Right--->properties-->java compiler-->annotation processing, tick enable project specific settings in the right area. As shown:

[3]. Select the factory Path below annotation processing. Select Add JARs on the right. Find out the Butterknife-6.1.0.jar click Ok,apply under Project Libs. And then determine. :

At this point, Butterknife has been configured in Eclipse, and then it's ready to start the code. For the funeral, please listen to tell.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Set up Butterknife in Eclipse for annotated development steps

Original: http://blog.csdn.net/chenyufeng1991/article/details/46900395

"Go" Eclipse set up Butterknife for annotated development steps--good

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.