Over a million developers have joined DZone.

Using the Butter Knife View "Injection" Library in Android Studio and IDEA

· Java Zone

Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code! Brought to you in partnership with ZeroTurnaround.

We wrote a few months ago about Jake Wharton's Android view "injection" library called Butter Knife. For those using Android Studio or IntelliJ IDEA, there is now a plug-in from Inmite Developers that might help you save some more time. They call it ButterKnifeZelezny, after the Czech javalin thrower, and it generates Butter Knife injections from XML layouts. It looks pretty useful, and straightforward, too.

You can find some information on Inmite's Google Plus announcement, but if you're interested, you might as well head straight to the GitHub and check it out. They've included instructions to help you get set up, teach you how to use it, and even show you how to build the code. Don't forget, you'll need Butter Knife first - you can get it from Jake Wharton's GitHub.

The Java Zone is brought to you in partnership with ZeroTurnaround. Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code!

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}