Code Monkey home page Code Monkey logo

android-butterknife-zelezny's Introduction

ButterKnifeZelezny

Simple plug-in for Android Studio/IDEA that allows one-click creation of Butterknife view injections.

How to install

  • in Android Studio: go to Preferences → Plugins → Browse repositories and search for ButterKnife Zelezny

or

  • download it and install via Preferences → Plugins → Install plugin from disk

How to use it

  1. Make sure you have latest Butterknife lib on your classpath
  2. Right click on usage of desired layout reference (e.g. R.layout.main in your Activity or Fragment), then Generate and Generate ButterKnife Injections
  3. Pick injections you want, you also have an option to create ViewHolder for adapters.
  4. Click Confirm and enjoy injections in your code with no work!

Contributing

Pull requests are welcomed!

Common issue: The plugin is not working after I updated to new Android Studio

  • AS promts you to update plugins after update, you need to update them before using
  • Make sure you have Butterknife on your classpath
  • Make sure that your cursor is placed on a layout ID in a class having one of these types: Activity, Fragment, custom View or Adapter

Why 'Zelezny'?

Jan Železný is a famous Czech javelin thrower, Olympic champion and world record holder. With Zelezny's javelin, your butter knife will be much sharper!

See our other Czech personalities who help with #AndroidDev.

android-butterknife-zelezny's People

Contributors

davidvavra avatar egor-n avatar makovkastar avatar nikoladespotoski avatar siempredelao avatar tomaskypta avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.