{"repo":"pinball83/Masked-Edittext","free":true,"listed":false,"github":"https://github.com/pinball83/Masked-Edittext","clone":"git clone https://github.com/pinball83/Masked-Edittext.git","description":"Android library contain custom realisation of EditText component for masking and formatting input text","language":"Kotlin","stars":592,"topics":["android-library","mask","widget","input-validation"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Masked-EditText Modern, Kotlin-first input masking for Android with both classic Views and Jetpack Compose APIs. This refactor keeps the original MaskedEditText API compatible while adding a shared mask core, a state machine for predictable behavior, and a composable MaskedTextField . - Kotlin implementation with Java interop preserved - View widget: MaskedEditText (backward compatible) - Compose: MaskedTextField + MaskedOptions + reusable state holder - Cursor policy + state machine for reliable caret movement and validation - Tests: Robolectric + Compose Demo apps: demo app (Views) and demo app compose (Compose). Requirements - Android minSdk 21 - Java/Kotlin toolchain compatible with Java 17 - Jetpack Compose is optional (only needed for the Compose API) Installation This repository ships as a Gradle module. Choose one: Maven Central (recommended) Replace 2.0.0 with the latest published version. Project dependency (recommended when working in this repo) - In settings.gradle : include(\":masked-edittext\") - In your app module: Local Maven snapshot (integration testing) - Publish: ./gradlew :masked-edittext:publishToMavenLocal - In your consuming project: add mavenLocal() to repositories - Use the published coordinates printed by Gradle for the snapshot Note: Older READMEs may refer to legacy coordinates from the original library; use the coordinates above for this Kotlin-first refactor. Usage Views ( MaskedEditText ) XML: Kotlin: Supported attributes: mask , notMaskedSymbol ","default_branch":null,"files":null,"tree":[],"storefront":"/r/pinball83","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pinball83/Masked-Edittext/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}