类 CountryCodePickerDialog
- java.lang.Object
-
- android.app.Dialog
-
- cn.authing.guard.dialog.CountryCodePickerDialog
-
- 所有已实现的接口:
DialogInterface,KeyEvent.Callback,View.OnClickListener,View.OnCreateContextMenuListener,Window.Callback,AdapterView.OnItemClickListener,LetterSideBar.OnTouchingLetterChangedListener
public class CountryCodePickerDialog extends Dialog implements View.OnClickListener, LetterSideBar.OnTouchingLetterChangedListener, AdapterView.OnItemClickListener
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static interfaceCountryCodePickerDialog.OnDialogClickListener
-
字段概要
-
从接口继承的字段 android.content.DialogInterface
BUTTON_NEGATIVE, BUTTON_NEUTRAL, BUTTON_POSITIVE, BUTTON1, BUTTON2, BUTTON3
-
-
构造器概要
构造器 限定符 构造器 说明 CountryCodePickerDialog(Context context)protectedCountryCodePickerDialog(Context context, boolean cancelable, DialogInterface.OnCancelListener cancelListener)CountryCodePickerDialog(Context context, int themeResId)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanisStrInString(String bigStr, String smallStr)voidonBackPressed()voidonClick(View v)protected voidonCreate(Bundle savedInstanceState)voidonItemClick(AdapterView<?> parent, View view, int position, long id)voidonTouchingLetterChanged(int position, String str)voidsetData(List<Country> dataList)voidsetOnDialogClickListener(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 Context context)
-
CountryCodePickerDialog
public CountryCodePickerDialog(@NonNull Context context, int themeResId)
-
CountryCodePickerDialog
protected CountryCodePickerDialog(@NonNull Context context, boolean cancelable, @Nullable DialogInterface.OnCancelListener cancelListener)
-
-
方法详细资料
-
setOnDialogClickListener
public void setOnDialogClickListener(CountryCodePickerDialog.OnDialogClickListener listener)
-
onTouchingLetterChanged
public void onTouchingLetterChanged(int position, String str)
-
onItemClick
public void onItemClick(AdapterView<?> parent, View view, int position, long id)
- 指定者:
onItemClick在接口中AdapterView.OnItemClickListener
-
onClick
public void onClick(View v)
- 指定者:
onClick在接口中View.OnClickListener
-
onBackPressed
public void onBackPressed()
- 覆盖:
onBackPressed在类中Dialog
-
-