Skip to content

h87kg/android-butterknife-zelezny

 
 

Repository files navigation

ButterKnifeZelezny

Simple plug-in for IntelliJ IDEA and Android Studio that allows one-click creation of ButterKnife view injections.

How to install

  • in Android Studio: go to Preferences → Plugins → Browse repositories and search for ButterKnife Zelezny

or

  • download it and install via Preferences → Plugins → Install plugin from disk

How to use

  1. Right click on usage of desired layout file (e.g. setContentView(R.layout.main)), then Generate and Generate ButterKnife Injections

  1. Pick injections you want, rename them to whatever you want. Also you have option to create ViewHolder for adapters.

You need to include Butterknife library into your project in order to make this work.

Other's work

About

Android Studio plug-in for generating ButterKnife injections from selected layout XML.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published