Skip to content

Instantly share code, notes, and snippets.

View stanbar's full-sized avatar
👨‍🎓

Stanislaw Baranski stanbar

👨‍🎓
View GitHub Profile
@stanbar
stanbar / SoftKeyboard.java
Last active September 10, 2018 06:30 — forked from felHR85/SoftKeyboard.java
A solution to catch show/hide soft keyboard events in Android http://felhr85.net/2014/05/04/catch-soft-keyboard-showhidden-events-in-android/
/*
* Author: Felipe Herranz (felhr85@gmail.com)
* Contributors:Francesco Verheye (verheye.francesco@gmail.com)
* Israel Dominguez (dominguez.israel@gmail.com)
*/
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;
import android.os.Handler;