android-viewbyid-generator
Android Annotations @ViewById
annotation generator for Android Studio / IntelliJ IDEA, heavily based on the ButterKnifeZelezny plugin.
How to install
- In Android Studio or IntelliJ IDEA: Go to Preferences - Plugins - Browse repositories, search for
Android Annotations @ViewById injection code
and install it. - Or if you prefer, go to the official JetBrains site and download it.
Usage
- Select your
R.layout.layout_name
name in your @EActivity, @EFragment or @EViewGroup and right click it. - Select
Generate / Generate @ViewById entries
or press ?+^+?+V - Select the annotations you want to use, change their names, whatever you want.
- Confirm - and it is done :)