Skip to content

erikzielke/butterknife_inspections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Butterknife Inspections

This plugin for IntelliJ/Android Studio detects and shows inspections for common mistakes using ButterKnife. For now the problems detected are:

  • No call to ButterKnife.inject
  • That a field exists in all layouts or is optional
  • That the type of the field matches in all views

The detection for which layouts to check for matching ids is based on the following:

  • Each setContentView call in onCreate of an activity
  • Each inflate in onCreateView in a Fragment
  • Each inflate in each constructor in a View

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published