Skip to content

WilliamRen/android-butterknife-zelezny

 
 

Repository files navigation

ButterKnifeZelezny

Simple plug-in for Android Studio/IDEA 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 it

  1. Make sure you have latest Butterknife lib on your classpath
  2. Right click on usage of desired layout reference (e.g. R.layout.main in your Activity or Fragment), then Generate and Generate ButterKnife Injections
  3. Pick injections you want, you also have an option to create ViewHolder for adapters.
  4. Click Confirm and enjoy injections in your code with no work!

Contributing

Pull requests are welcomed!

Why 'Zelezny'?

Jan Železný is a famous Czech javelin thrower, Olympic champion and world record holder. With Zelezny's javelin, your butter knife will be much sharper!

See our other Czech personalities who help with #AndroidDev.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%