Skip to content
A DSL to handle soft keyboard visibility change event written in Kotlin.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.idea
app
gradle/wrapper Initial commit to start Oct 25, 2018
keyboardvisibility Added DslKeyboard annotation (#1) Oct 30, 2018
.gitignore Initial commit to start Oct 25, 2018
README.md
build.gradle Added DslKeyboard annotation (#1) Oct 30, 2018
gradle.properties
gradlew
gradlew.bat
keyboard_example.gif
logo.png
settings.gradle

README.md

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:

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

Step 2. Add the dependency

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

Step 3. Code example

keyboard {
    onClosed { alert("onClosed").show() }
    onOpened { alert("onOpened").show() }
}

Demo

Special thanks

@yshrsmz
@amadeu01

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.