explaingit

android/android-ktx

7,432Audience · developerComplexity · 1/5Setup · easy

TLDR

An archived early repository for Android KTX, a set of Kotlin extension functions that make Android app code shorter and more readable, active development has moved to the AndroidX project in AOSP.

Mindmap

mindmap
  root((android-ktx))
    What it was
      Early Kotlin extensions
      Android convenience methods
      Shorter readable code
    Current status
      Archived and inactive
      Moved to AndroidX
      No new contributions
    Next steps
      Use AndroidX KTX
      File bugs in AOSP
      Contribute to AOSP
    Audience
      Android developers
      Kotlin learners
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Use as a historical reference to see how Android KTX Kotlin extension functions were first designed before being integrated into AndroidX

USE CASE 2

Follow the README links to the active AOSP AndroidX repository to file bug reports or contribute to Android KTX today

Tech stack

KotlinAndroid

Getting it running

Difficulty · easy Time to first run · 5min

Repository is archived, use the AndroidX KTX libraries from the official AOSP repository for any active development.

In plain English

This was an early repository for Android KTX, a set of Kotlin extension functions for Android app development. Kotlin extensions let developers write shorter and more readable code by adding convenience methods to existing Android classes. The repository is no longer active. Google moved development of these libraries into the main Android open-source codebase (AOSP), under the AndroidX umbrella. The README directs anyone with bug reports or feature requests to Google's issue tracker, and directs contributors to the official AOSP repository instead. No new development, issue tracking, or pull requests happen here.

Copy-paste prompts

Prompt 1
Android KTX is now in AndroidX. How do I add the current AndroidX KTX libraries to my Android project in place of the archived android/android-ktx repo?
Prompt 2
What kinds of Kotlin extension functions did Android KTX originally provide for Android development, and what shorter syntax do they enable?
Prompt 3
I found a reference to android/android-ktx in an old project. How do I migrate to the equivalent AndroidX KTX artifacts in my Gradle build file?
Open on GitHub → Explain another repo

← android on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.