类 CountryCodePickerDialog

  • 所有已实现的接口:
    android.content.DialogInterface, android.view.KeyEvent.Callback, android.view.View.OnClickListener, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback, android.widget.AdapterView.OnItemClickListener, LetterSideBar.OnTouchingLetterChangedListener

    public class CountryCodePickerDialog
    extends android.app.Dialog
    implements android.view.View.OnClickListener, LetterSideBar.OnTouchingLetterChangedListener, android.widget.AdapterView.OnItemClickListener
    • 嵌套类概要

      嵌套类 
      修饰符和类型 说明
      static interface  CountryCodePickerDialog.OnDialogClickListener  
      • 从接口继承的嵌套类/接口 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
    • 字段概要

      • 从接口继承的字段 android.content.DialogInterface

        BUTTON_NEGATIVE, BUTTON_NEUTRAL, BUTTON_POSITIVE, BUTTON1, BUTTON2, BUTTON3
    • 构造器概要

      构造器 
      限定符 构造器 说明
        CountryCodePickerDialog​(android.content.Context context)  
      protected CountryCodePickerDialog​(android.content.Context context, boolean cancelable, android.content.DialogInterface.OnCancelListener cancelListener)  
        CountryCodePickerDialog​(android.content.Context context, int themeResId)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      boolean isStrInString​(java.lang.String bigStr, java.lang.String smallStr)  
      void onBackPressed()  
      void onClick​(android.view.View v)  
      protected void onCreate​(android.os.Bundle savedInstanceState)  
      void onItemClick​(android.widget.AdapterView<?> parent, android.view.View view, int position, long id)  
      void onTouchingLetterChanged​(java.lang.String str)  
      void setData​(java.util.List<Country> dataList)  
      void setOnDialogClickListener​(CountryCodePickerDialog.OnDialogClickListener listener)  
      • 从类继承的方法 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, onAttachedToWindow, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onStart, onStop, 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
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 从接口继承的方法 android.view.Window.Callback

        onPointerCaptureChanged, onProvideKeyboardShortcuts
    • 构造器详细资料

      • CountryCodePickerDialog

        public CountryCodePickerDialog​(@NonNull
                                       android.content.Context context)
      • CountryCodePickerDialog

        public CountryCodePickerDialog​(@NonNull
                                       android.content.Context context,
                                       int themeResId)
      • CountryCodePickerDialog

        protected CountryCodePickerDialog​(@NonNull
                                          android.content.Context context,
                                          boolean cancelable,
                                          @Nullable
                                          android.content.DialogInterface.OnCancelListener cancelListener)
    • 方法详细资料

      • onCreate

        protected void onCreate​(android.os.Bundle savedInstanceState)
        覆盖:
        onCreate 在类中 android.app.Dialog
      • onItemClick

        public void onItemClick​(android.widget.AdapterView<?> parent,
                                android.view.View view,
                                int position,
                                long id)
        指定者:
        onItemClick 在接口中 android.widget.AdapterView.OnItemClickListener
      • setData

        public void setData​(java.util.List<Country> dataList)
      • isStrInString

        public boolean isStrInString​(java.lang.String bigStr,
                                     java.lang.String smallStr)
      • onClick

        public void onClick​(android.view.View v)
        指定者:
        onClick 在接口中 android.view.View.OnClickListener
      • onBackPressed

        public void onBackPressed()
        覆盖:
        onBackPressed 在类中 android.app.Dialog