public class GenderSelectDialog
extends com.app.security.util.MemoryDialog
implements android.view.View.OnClickListener
限定符和类型 | 类和说明 |
---|---|
static class |
GenderSelectDialog.GENDER |
static interface |
GenderSelectDialog.GenderSelectListener |
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener
构造器和说明 |
---|
GenderSelectDialog(android.content.Context context,
GenderSelectDialog.GENDER gender) |
GenderSelectDialog(android.content.Context context,
int themeResId) |
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
getRequestSexParameter(GenderSelectDialog.GENDER gender)
根据选择的性别转换为性别请求参数 1全部 2男 3女
|
void |
onClick(android.view.View v) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
void |
setGenderAllBtnText(java.lang.String text) |
void |
setGenderSelectListener(GenderSelectDialog.GenderSelectListener l) |
dismiss, isActivityValid, isBottomEntryDialog, isContextAvailable, realDismiss, realShow, setBottomEntryDialog, setContentView, setContentView, setContentView, setOnDismissListener, show
addContentView, cancel, closeOptionsMenu, create, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, 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, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, takeKeyEvents, unregisterForContextMenu
public GenderSelectDialog(@NonNull android.content.Context context, GenderSelectDialog.GENDER gender)
public GenderSelectDialog(@NonNull android.content.Context context, int themeResId)
public void setGenderSelectListener(GenderSelectDialog.GenderSelectListener l)
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate
在类中 android.app.Dialog
public void setGenderAllBtnText(java.lang.String text)
public void onClick(android.view.View v)
onClick
在接口中 android.view.View.OnClickListener
public static java.lang.String getRequestSexParameter(GenderSelectDialog.GENDER gender)
gender
-