public class LiveHostPresenter extends java.lang.Object implements ILiveHostPresenter, android.view.View.OnClickListener
限定符和类型 | 字段和说明 |
---|---|
protected FollowGuideDialog |
mFollowGuideDialog |
protected com.app.view.PressAlphaImageView |
mImgFollow |
protected com.app.user.view.RoundImageView |
mVideoImageView |
protected android.widget.TextView |
mVideoName |
构造器和说明 |
---|
LiveHostPresenter() |
限定符和类型 | 方法和说明 |
---|---|
void |
changeFollow(boolean followed,
boolean isInit) |
void |
destroy() |
android.app.Dialog |
getFollowGuideDialog() |
android.view.View |
getOfficialVideoImageView() |
android.view.View |
getOfficialVideoNameView() |
boolean |
hasLayer(boolean closeLayer) |
boolean |
initialize(android.view.View parentRootView,
ILiveInfoWrapper liveInfoWrapper)
初始化view
|
boolean |
invalid() |
boolean |
isShowingFollowGuide() |
void |
onClick(android.view.View v) |
void |
onFansGroupClick() |
void |
onFansGroupClick(java.lang.String source) |
void |
release() |
protected void |
setRootViewBackground(boolean isOfficial) |
void |
startFollowGuide2() |
void |
updateHeadCountView() |
void |
updateHostInfo() |
void |
updateOfficialFollowState(OfficialChannelListInfo info) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newInstance
protected com.app.user.view.RoundImageView mVideoImageView
protected android.widget.TextView mVideoName
protected com.app.view.PressAlphaImageView mImgFollow
protected FollowGuideDialog mFollowGuideDialog
public boolean initialize(@NonNull android.view.View parentRootView, @NonNull ILiveInfoWrapper liveInfoWrapper)
IViewPresenter
initialize
在接口中 IViewPresenter
parentRootView
- 根viewpublic void updateHostInfo()
updateHostInfo
在接口中 ILiveHostPresenter
public android.view.View getOfficialVideoNameView()
getOfficialVideoNameView
在接口中 ILiveHostPresenter
protected void setRootViewBackground(boolean isOfficial)
public void updateHeadCountView()
updateHeadCountView
在接口中 ILiveHostPresenter
public void updateOfficialFollowState(OfficialChannelListInfo info)
updateOfficialFollowState
在接口中 ILiveHostPresenter
public android.view.View getOfficialVideoImageView()
getOfficialVideoImageView
在接口中 ILiveHostPresenter
public boolean invalid()
invalid
在接口中 IViewPresenter
public void release()
release
在接口中 IViewPresenter
public boolean hasLayer(boolean closeLayer)
hasLayer
在接口中 IViewPresenter
public void onClick(android.view.View v)
onClick
在接口中 android.view.View.OnClickListener
public void onFansGroupClick()
onFansGroupClick
在接口中 ILiveHostPresenter
public void onFansGroupClick(java.lang.String source)
onFansGroupClick
在接口中 ILiveHostPresenter
public void changeFollow(boolean followed, boolean isInit)
changeFollow
在接口中 ILiveHostPresenter
public boolean isShowingFollowGuide()
isShowingFollowGuide
在接口中 ILiveHostPresenter
public android.app.Dialog getFollowGuideDialog()
getFollowGuideDialog
在接口中 ILiveHostPresenter
public void startFollowGuide2()
public void destroy()
destroy
在接口中 IPageLifecycle