Skip to content

Latest commit

 

History

History

keyboard-compose

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Keyboard Compose

This Android library contains composable functions to work with Kaluga keyboard.

Installing

This library is available on Maven Central. You can import Kaluga Keyboard Compose as follows:

repositories {
    // ...
    mavenCentral()
}
// ...
dependencies {
    // ...
    implementation("com.splendo.kaluga.keyboard-compose:$kalugaVersion")
}

Usage

Create a ComposeKeyboardManager.Builder and add it to the LifecycleSubscribables of a BaseLifecycleViewModel. Bind the ViewModel to your composable view using ViewModelComposable.

To show the keyboard, add a FocusRequester to a view using

TextField(
    modifier = Modifier
        .focusRequester(focusRequester)
)

And focus on it using ComposeFocusHandler(focusRequester)