# android/android-ktx

A set of Kotlin extensions for Android app development.

Repository: https://github.com/android/android-ktx
Canonical: https://ross.abutalabs.com/products/android-ktx
Homepage: https://android.github.io/android-ktx/core-ktx/
License Family: other
Topics: kotlin, kotlin-extensions, android
Archived: true
Last push: 2018-11-13T20:24:58+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3200, "days_push": 2850, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7416, forks 559 (observed 2026-08-28T04:09:59.756611+00:00)

## What it is
A set of Kotlin extension functions and properties that make Android app development more concise and idiomatic. The project was merged into AndroidX (core-ktx and related KTX libraries), and this repository is no longer used for development or issue tracking.

## Use cases
- write more concise Android code with Kotlin extensions
- simplify Android APIs like SharedPreferences, bundles, and resources
- reduce boilerplate in Android app development
- use idiomatic Kotlin wrappers for androidx APIs
- migrate Android KTX usage into AndroidX core-ktx

## When to choose
- you want idiomatic Kotlin extensions for Android APIs
- you are already using AndroidX and want the maintained core-ktx libraries

## When to avoid
- you are starting a new project - use the AndroidX KTX libraries instead
- you need bug fixes or new features, since this repo is abandoned and development moved to AOSP/AndroidX

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, developer-tools
- domain: mobile-development, android-tools, developer-tools
- platform: jvm
- tags: kotlin, kotlin-extensions, androidx, core-ktx, extension-functions, android

## Member repositories
- android/android-ktx (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:59.756611+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-29T17:37:46.699714+00:00, confidence not recorded.
  - readme: https://github.com/android/android-ktx (fetched 2026-08-28T04:09:59.756611+00:00, sha 782435f9a53c)
  - homepage: https://android.github.io/android-ktx/core-ktx/ (fetched 2026-08-29T08:33:37.323483+00:00, sha 8287a425e3c2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
