Skip to content

mirshahbazi/MAMSoftKeyBoardStateHelper

Repository files navigation

MAMSoftKeyBoardStateHelper

detect softkeyboard status

MAMSoftKeyBoardStateHelper help you to detect softkeyboard status and do your job in view. enjoy it :D.

Hero Image

Usage

See the sample app. Typical usage: in the activity:

 SoftKeyBoardStateHelper softKeyBoardStateHelper;
       softKeyBoardStateHelper.addSoftKeyBoardStateListener(this, new SoftKeyBoardStateListener() {
            @Override
            public void onSoftKeyBoardOpened(int keyboardHeightInpx) {
              //do some thing keyboard is opened
            }

            @Override
            public void onSoftKeyBoardClosed() {
               //do some thing keyboard is closed
            }
        });

Using with gradle

  • Add the JitPack repository to your root build.gradle:
repositories {
    maven { url "https://jitpack.io" }
}
  • Add the dependency to your sub build.gradle:
	dependencies {
	    implementation 'com.github.mirshahbazi:MAMSoftKeyBoardStateHelper:14b305e465'
	}

License

Copyright MAM

About

detect softkeyboard status

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages