# androidbroadcast/ViewBindingPropertyDelegate

Make work with Android View Binding simpler

Repository: https://github.com/androidbroadcast/ViewBindingPropertyDelegate
Canonical: https://ross.abutalabs.com/products/viewbindingpropertydelegate
Homepage: https://proandroiddev.com/make-android-view-binding-great-with-kotlin-b71dd9c87719
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: android, kotlin, viewbinding
Last push: 2026-06-06T22:24:45+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 86, release rhythm 40, longevity 100
- inputs: {"age_days": 2314, "days_push": 88, "days_rel": 566, "gap_med": 6, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1474, forks 101 (observed 2026-08-28T04:04:49.730983+00:00)

## What it is
A Kotlin library that simplifies Android View Binding usage via property delegates. It lazily creates ViewBinding instances and clears references on view destruction to prevent memory leaks.

## Use cases
- bind views in fragments without nullable binding references
- avoid memory leaks from retained ViewBinding instances
- lazily create ViewBinding in activities and fragments
- replace findViewById boilerplate with delegates
- use ViewBinding in RecyclerView adapters and BottomSheets

## When to choose
- you use Android ViewBinding and want concise, leak-safe binding access
- you want a no-reflection, performant delegate implementation
- you work with fragments where binding must be cleared in onDestroyView

## When to avoid
- you use Jetpack Compose exclusively with no ViewBinding
- your project has ViewBinding disabled or uses DataBinding features instead

## Facets
- artifact type: library
- maturity: active
- function: ui-components, developer-tools
- domain: mobile-development, android-tools, developer-tools
- platform: -
- tags: viewbinding, kotlin, property-delegate, lifecycle, memory-leak-prevention, android

## Member repositories
- androidbroadcast/ViewBindingPropertyDelegate (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:49.730983+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-30T04:34:33.244167+00:00, confidence not recorded.
  - readme: https://github.com/androidbroadcast/ViewBindingPropertyDelegate (fetched 2026-08-28T04:04:49.730983+00:00, sha a1456ce1d02a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
