MR
mrmans0n/android-viewbyid-generator
Android Annotations @ViewById annotation generator for Android Studio / IntelliJ IDEA
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 codeand install it. - Or if you prefer, go to the official JetBrains site and download it.
Usage
- Select your
R.layout.layout_namename in your @EActivity, @efragment or @eviewgroup and right click it. - Select
Generate / Generate @ViewById entriesor press ⌥+^+⌘+V - Select the annotations you want to use, change their names, whatever you want.
- Confirm - and it is done :)
On this page
Contributors
MIT License
Created January 8, 2014
Updated January 4, 2025