Class LoginDialog

  • All Implemented Interfaces:
    android.content.DialogInterface, android.view.KeyEvent.Callback, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback

    public class LoginDialog
    extends android.app.Dialog
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface android.content.DialogInterface

        android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CUSTOM_TAB_HIDDEN  
      • Fields inherited from interface android.content.DialogInterface

        BUTTON_NEGATIVE, BUTTON_NEUTRAL, BUTTON_POSITIVE, BUTTON1, BUTTON2, BUTTON3
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void onAttachedToWindow()  
      protected void onCreate​(android.os.Bundle savedInstanceState)  
      void onDetachedFromWindow()  
      protected void onStop()  
      void setOnCompleteListener​(AuthorizationHandler.OnCompleteListener listener)  
      void unbindCustomTabsService()
      Unbinds from the Custom Tabs Service.
      • Methods inherited from class android.app.Dialog

        addContentView, cancel, closeOptionsMenu, create, dismiss, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onStart, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setContentView, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface android.view.Window.Callback

        onPointerCaptureChanged, onProvideKeyboardShortcuts
    • Constructor Detail

      • LoginDialog

        public LoginDialog​(android.app.Activity contextActivity,
                           AuthorizationRequest request)
      • LoginDialog

        public LoginDialog​(android.app.Activity contextActivity,
                           int theme,
                           AuthorizationRequest request)
    • Method Detail

      • onCreate

        protected void onCreate​(android.os.Bundle savedInstanceState)
        Overrides:
        onCreate in class android.app.Dialog
      • unbindCustomTabsService

        public void unbindCustomTabsService()
        Unbinds from the Custom Tabs Service.
      • onAttachedToWindow

        public void onAttachedToWindow()
        Specified by:
        onAttachedToWindow in interface android.view.Window.Callback
        Overrides:
        onAttachedToWindow in class android.app.Dialog
      • onDetachedFromWindow

        public void onDetachedFromWindow()
        Specified by:
        onDetachedFromWindow in interface android.view.Window.Callback
        Overrides:
        onDetachedFromWindow in class android.app.Dialog
      • onStop

        protected void onStop()
        Overrides:
        onStop in class android.app.Dialog
      • close

        public void close()