Skip to content

hidden input composable example written in Kotlin for Android Jetpack Compose

Notifications You must be signed in to change notification settings

jhoopmann/jetpack-compose-hidden-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Hidden Input Composable

Composable example to open keyboard from hidden textfield and cast values to specific MutableState type

Usage

Port input example

HiddenInput<UInt>(keyboardFocusRequester = portFocusRequester,
    keyboardOptions = KeyboardOptions(
        keyboardType = KeyboardType.Number,
        imeAction = ImeAction.Done,
        autoCorrectEnabled = false,
        showKeyboardOnFocus = true
    ),
    validate = { it in 1024u..49151u }) {
    value = it
}

About

hidden input composable example written in Kotlin for Android Jetpack Compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages