Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Suleman Khan sulemankhan447

🎯
Focusing
Block or report user

Report or block sulemankhan447

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sulemankhan447
sulemankhan447 / KeyboardUtil.java
Created Nov 3, 2019 — forked from kristopherjohnson/KeyboardUtil.java
Methods to hide or show the soft keyboard in an Android activity
View KeyboardUtil.java
import android.app.Activity;
import android.content.Context;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
/**
* Utility methods for manipulating the onscreen keyboard
*/
public class KeyboardUtil {
@sulemankhan447
sulemankhan447 / KeyboardUtils.java
Created Nov 3, 2019 — forked from marteinn/KeyboardUtils.java
Android utils class for showing and hiding a keyboard.
View KeyboardUtils.java
package se.marteinn.utils;
import android.content.Context;
import android.os.AsyncTask;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import android.widget.EditText;
/**
* Created by martinsandstrom on 2014-04-21.
You can’t perform that action at this time.