Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/viniciusmo/keyboard-visibility-event-android

A DSL to handle soft keyboard visibility change event written in Kotlin.
https://github.com/viniciusmo/keyboard-visibility-event-android

Last synced: 3 months ago
JSON representation

A DSL to handle soft keyboard visibility change event written in Kotlin.

Awesome Lists containing this project

README

        




Kotlin
Build Status
Dependencies
GitHub Issues
Contributions welcome
License

About
--------
A DSL to handle soft keyboard visibility change event written in Kotlin.

How to use?
--------

**Step 1.** Add it in your root build.gradle at the end of repositories:

```gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```

**Step 2.** Add the dependency

```gradle
dependencies {
implementation 'com.github.viniciusmo:keyboard-visibility-event-android:1.0.4'
}
```

**Step 3.** Code example
``` kotlin
keyboard {
onClosed { alert("onClosed").show() }
onOpened { alert("onOpened").show() }
}

```

Demo
--------



Special thanks
--------
@yshrsmz
@amadeu01