public class UpdateDialog extends BaseDialog implements android.view.View.OnClickListener
| Modifier and Type | Method and Description |
|---|---|
void |
dismiss() |
protected void |
initListeners()
初始化监听器
|
protected void |
initViews()
初始化控件
|
static UpdateDialog |
newInstance(android.content.Context context,
UpdateEntity updateEntity,
IPrompterProxy prompterProxy,
PromptEntity promptEntity)
获取更新提示
|
void |
onAttachedToWindow() |
void |
onClick(android.view.View view) |
void |
onDetachedFromWindow() |
UpdateDialog |
setIPrompterProxy(IPrompterProxy prompterProxy) |
UpdateDialog |
setPromptEntity(PromptEntity promptEntity) |
UpdateDialog |
setUpdateEntity(UpdateEntity updateEntity) |
void |
show() |
findViewById, getDrawable, getString, onTouchEvent, setDialogSizepublic static UpdateDialog newInstance(android.content.Context context, UpdateEntity updateEntity, IPrompterProxy prompterProxy, PromptEntity promptEntity)
updateEntity - 更新信息prompterProxy - 更新代理promptEntity - 提示器参数信息public UpdateDialog setPromptEntity(PromptEntity promptEntity)
protected void initViews()
BaseDialoginitViews in class BaseDialogprotected void initListeners()
BaseDialoginitListeners in class BaseDialogpublic void show()
public void dismiss()
public UpdateDialog setUpdateEntity(UpdateEntity updateEntity)
public UpdateDialog setIPrompterProxy(IPrompterProxy prompterProxy)
public void onClick(android.view.View view)
onClick in interface android.view.View.OnClickListenerpublic void onAttachedToWindow()
public void onDetachedFromWindow()