# yshrsmz/KeyboardVisibilityEvent

Android Library to handle software keyboard visibility change event.

Repository: https://github.com/yshrsmz/KeyboardVisibilityEvent
Canonical: https://ross.abutalabs.com/products/keyboardvisibilityevent
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: android, android-library
Last push: 2021-09-29T09:59:20+00:00

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

## Adoption (not part of the score)
Stars 1740, forks 171 (observed 2026-08-28T04:05:30.126435+00:00)

## What it is
An Android library that lets apps listen for soft keyboard visibility change events and check whether the keyboard is currently open. It also includes helper methods to programmatically show or hide the keyboard.

## Use cases
- detect when the soft keyboard opens or closes in an Android activity
- adjust UI layout when the keyboard appears
- check if the keyboard is currently visible
- programmatically show or hide the soft keyboard
- auto-unregister keyboard listeners when an activity or fragment is destroyed

## When to choose
- you need keyboard visibility callbacks on Android with lifecycle-aware auto-unregistration
- you want a small, simple library for show/hide keyboard utilities

## When to avoid
- your activity uses windowSoftInputMode modes like adjustNothing that don't change activity height
- you want an actively maintained library — the author has stated they no longer maintain it
- you're on modern Android where WindowInsetsCompat APIs cover this need

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, developer-tools
- domain: mobile-development, android-tools
- platform: -
- tags: android-library, keyboard-visibility, soft-keyboard, kotlin, event-listener, android, mobile

## Member repositories
- yshrsmz/KeyboardVisibilityEvent (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:30.126435+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-30T03:30:12.470467+00:00, confidence not recorded.
  - readme: https://github.com/yshrsmz/KeyboardVisibilityEvent (fetched 2026-08-28T04:05:30.126435+00:00, sha 7ff401c8c5b8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
