Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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

DZone's Guide to

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

· Java Zone
Free Resource

Try Okta to add social login, MFA, and OpenID Connect support to your Java app in minutes. Create a free developer account today and never build auth again.

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.

Build and launch faster with Okta’s user management API. Register today for the free forever developer edition!

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}