android-viewbyid-generator

Additional

Language
Java
Version
N/A
Created
Jan 9, 2014
Updated
Jan 6, 2015 (Retired)
Owner
Nacho Lopez (mrmans0n)
Contributor
Nacho Lopez (mrmans0n)
1
Activity
Badge
Generate
Download
Source code

Promotion

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

  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 :)