Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Latest commit

 

History

History
17 lines (14 loc) · 1.04 KB

README.md

File metadata and controls

17 lines (14 loc) · 1.04 KB

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