public class HostTaskTreasureBoxPresenter extends java.lang.Object implements IHostTaskTreasureBoxPresenter
限定符和类型 | 字段和说明 |
---|---|
protected int |
bonusCurrentNum |
protected ScrollItemData |
bonusScrollInfo |
protected java.lang.String |
bonusTaskGiftId |
protected int |
bonusTaskType |
protected int |
bonusTotalNum |
protected boolean |
hasTaskBonus |
protected BonusReceiveTaskDialog |
mBonusReceiveTaskDialog |
protected BonusSettingDialog |
mBonusSettingDialog |
构造器和说明 |
---|
HostTaskTreasureBoxPresenter() |
限定符和类型 | 方法和说明 |
---|---|
void |
destroy() |
void |
dismissDialog() |
boolean |
hasLayer(boolean closeLayer) |
boolean |
initialize(android.view.View rootView,
ILiveInfoWrapper liveInfoWrapper)
初始化view
|
void |
initTaskBonusView() |
boolean |
invalid() |
void |
onLiveShareUV() |
void |
onReceiveGift(com.live.immsgmodel.GiftMsgContent msgContent) |
void |
onTreasureBoxClick() |
protected void |
queryBonusStatus() |
void |
release() |
void |
setHasTaskBonus(boolean hasTaskBonus) |
void |
showBonusReceiveDialog(BonusTaskMsgContent msgContent) |
void |
showBonusReceiveDialog(java.lang.String hostId)
展示主播任务宝箱当前进度
|
void |
showBonusSettingDialog(int type) |
void |
updateTaskBonusView() |
void |
updateView() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newInstance
protected boolean hasTaskBonus
protected ScrollItemData bonusScrollInfo
protected java.lang.String bonusTaskGiftId
protected int bonusTaskType
protected int bonusTotalNum
protected int bonusCurrentNum
protected BonusReceiveTaskDialog mBonusReceiveTaskDialog
protected BonusSettingDialog mBonusSettingDialog
public boolean initialize(@NonNull android.view.View rootView, ILiveInfoWrapper liveInfoWrapper)
IViewPresenter
initialize
在接口中 IViewPresenter
rootView
- 根viewpublic void showBonusReceiveDialog(java.lang.String hostId)
public void showBonusReceiveDialog(BonusTaskMsgContent msgContent)
public void initTaskBonusView()
protected void queryBonusStatus()
public void updateView()
updateView
在接口中 IHostTaskTreasureBoxPresenter
public void updateTaskBonusView()
public void setHasTaskBonus(boolean hasTaskBonus)
setHasTaskBonus
在接口中 IHostTaskTreasureBoxPresenter
public void onReceiveGift(com.live.immsgmodel.GiftMsgContent msgContent)
onReceiveGift
在接口中 IHostTaskTreasureBoxPresenter
public void onLiveShareUV()
onLiveShareUV
在接口中 IHostTaskTreasureBoxPresenter
public void showBonusSettingDialog(int type)
public void onTreasureBoxClick()
public void dismissDialog()
dismissDialog
在接口中 IHostTaskTreasureBoxPresenter
public boolean invalid()
invalid
在接口中 IViewPresenter
public void release()
release
在接口中 IViewPresenter
public boolean hasLayer(boolean closeLayer)
hasLayer
在接口中 IViewPresenter
public void destroy()
destroy
在接口中 IPageLifecycle