RxJava2 bindings for android keyboard's InputMethodManager
depends on RxJava2 '2.0.7' version:
dependencies {
"io.reactivex.rxjava2:rxjava:2.0.7"
}
See latest release for build dependency
final RxSoftKeyboard keyboard = new RxAndroidSoftKeyboard(context);
keyboard.show(editTex, ShowFlags.NONE).subscribe(() -> callback());
final RxSoftKeyboard keyboard = new RxAndroidSoftKeyboard(context);
keyboard.hide(view.getWindowToken(), ShowFlags.NONE).subscribe(() -> callback());