GitHunt
MR

mrmans0n/android-viewbyid-generator

Android Annotations @ViewById annotation generator for Android Studio / IntelliJ IDEA

android-viewbyid-generator

Android Arsenal

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

  1. Select your R.layout.layout_name name in your @EActivity, @efragment or @eviewgroup and right click it.
  2. Select Generate / Generate @ViewById entries or press ⌥+^+⌘+V
  3. Select the annotations you want to use, change their names, whatever you want.
  4. Confirm - and it is done :)

Contributors

MIT License
Created January 8, 2014
Updated January 4, 2025
mrmans0n/android-viewbyid-generator | GitHunt