public static int getKeyboardHeight(final Context context) {
        if (lastSaveKeyboardHeight == 0) {
            lastSaveKeyboardHeight = KeyBoardSharedPreferences
                    .get(context, getMinPanelHeight(context.getResources()));
        }

        return lastSaveKeyboardHeight;
    }
public static int getKeyboardHeight ( final Context context ) { if ( lastSaveKeyboardHeight == 0 ) { lastSaveKeyboardHeight = KeyBoardSharedPreferences . get ( context , getMinPanelHeight ( context . getResources ( ) ) ) ; } return lastSaveKeyboardHeight ; }
@param context the keyboard height is stored by shared-preferences, so need context.
@return the stored keyboard height.
@see #getValidPanelHeight(Context)
@see #attach(Activity, IPanelHeightTarget)
<p/>
Handle and refresh the keyboard height by {@link #attach(Activity, IPanelHeightTarget)}.