# JakeWharton/butterknife

Bind Android views and callbacks to fields and methods.

Repository: https://github.com/JakeWharton/butterknife
Canonical: https://ross.abutalabs.com/products/butterknife
Homepage: http://jakewharton.github.io/butterknife/
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2023-09-02T07:41:30+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4929, "days_push": 1096, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 25348, forks 4542 (observed 2026-08-28T04:11:38.140483+00:00)

## What it is
Butter Knife is a Java annotation-processing library for Android that binds views, listeners, and resources to fields and methods, eliminating findViewById boilerplate. It is now deprecated in favor of Android's official view binding.

## Use cases
- bind android views to fields without findviewbyid
- reduce boilerplate in android activity code
- bind click listeners via annotations
- bind string and color resources to fields
- maintain legacy android app using butterknife

## When to choose
- maintaining an existing Android codebase already using Butter Knife
- a legacy Java Android project that cannot adopt view binding

## When to avoid
- starting a new Android project - use Jetpack view binding instead
- Kotlin projects - use Kotlin synthetic views or view binding
- you need ongoing support or new features

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, developer-tools
- domain: mobile-development, android-tools, developer-tools
- platform: jvm
- tags: android, view-binding, annotation-processing, deprecated, boilerplate-reduction

## Member repositories
- JakeWharton/butterknife (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:38.140483+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:56:03.681445+00:00, confidence not recorded.
  - readme: https://github.com/JakeWharton/butterknife (fetched 2026-08-28T04:11:38.140483+00:00, sha 50ba7e9b9a81)
  - homepage: http://jakewharton.github.io/butterknife/ (fetched 2026-08-29T07:52:49.754701+00:00, sha c251ac841d30)
- Data as of 2026-08-30T08:39:29.467469+00:00.
