Android Studio generates plugins for XUTILS3 injection

Source: Internet
Author: User

One of my CSDN blog link address 51241778

An Android Studio development plugin that co-XUTILS3 generated annotations, based on Android-butterknife-zelezny, thanks to Android-butterknife-zelezny.

There's nothing to say, just look at the graph, one-click to generate the View declaration and XUTILS3 annotations from the layout file:

How to use 1. Select File---> Settings-----> Plugins----> Install plugin from disk
2. Select the downloaded Xutils_inject.jar import, restart Android Studio Android project must first introduce XUTILS3, otherwise there will be some problems.
    1. Right-click on the layout ID used (for example, R.layout.activity_main in), then select Generate Generate Xutils3 Injections
    2. Select the View you want to inject in the dialog box, and there is an option to create a viewholder for Adapter.
    3. 点击 Confirm , the code is automatically generated!
Description of the low version of Android studio such as 1.4 is not supported, do not know what the reason. Test the 2.0,2.1 support. Because I am not familiar with the development of plug-ins, interested friends please download the code on their own to study the changes, thank you. Code Download link

Android Studio generates plugins for XUTILS3 injection

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.