public class CSEvaluateDialog
extends android.app.AlertDialog
Modifier and Type | Class and Description |
---|---|
static interface |
CSEvaluateDialog.EvaluateClickListener |
static class |
CSEvaluateDialog.EvaluateDialogType |
android.app.AlertDialog.Builder
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener
Constructor and Description |
---|
CSEvaluateDialog(android.content.Context context,
java.lang.String targetId) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
setClickListener(CSEvaluateDialog.EvaluateClickListener listener) |
void |
setOnCancelListener(android.content.DialogInterface.OnCancelListener listener) |
void |
showRobot(boolean resolved)
展示机器人评价
|
void |
showStar(java.lang.String dialogId)
展示星级评价
|
void |
showStarMessage(boolean resolvedOption)
展示星级和留言评价
|
getButton, getListView, onCreate, onKeyDown, onKeyUp, setButton, setButton, setButton, setButton, setButton2, setButton2, setButton3, setButton3, setCustomTitle, setIcon, setIcon, setIconAttribute, setInverseBackgroundForced, setMessage, setTitle, setView, setView
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, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onKeyShortcut, 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, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu
public CSEvaluateDialog(android.content.Context context, java.lang.String targetId)
public void setClickListener(CSEvaluateDialog.EvaluateClickListener listener)
public void showRobot(boolean resolved)
resolved
- 是否解决问题public void showStar(java.lang.String dialogId)
dialogId
- 提交评价时的会话 idpublic void showStarMessage(boolean resolvedOption)
resolvedOption
- 是否显示已解决问题选项public void destroy()
public void setOnCancelListener(android.content.DialogInterface.OnCancelListener listener)
setOnCancelListener
in class android.app.Dialog