Class KeyboardHeightPopupImpl

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void showAtLocation(View parent, int gravity, int x, int y)
      void start() Start the KeyboardHeightProvider, this must be called after the onResume of the Activity.
      void stop() Close the keyboard height provider, this provider will not be used anymore.
      void setKeyboardHeightObserver(KeyboardHeightObserver observer) Set the keyboard height observer to this provider.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KeyboardHeightPopupImpl

        KeyboardHeightPopupImpl(Activity activity)
    • Method Detail

      • showAtLocation

         void showAtLocation(View parent, int gravity, int x, int y)
      • start

         void start()

        Start the KeyboardHeightProvider, this must be called after the onResume of the Activity. PopupWindows are not allowed to be registered before the onResume has finished of the Activity.

      • stop

         void stop()

        Close the keyboard height provider, this provider will not be used anymore.

      • setKeyboardHeightObserver

         void setKeyboardHeightObserver(KeyboardHeightObserver observer)

        Set the keyboard height observer to this provider. The observer will be notified when the keyboard height has changed. For example when the keyboard is opened or closed.

        Parameters:
        observer - The observer to be added to this provider.