public class LiveOfficialPresenter extends java.lang.Object implements ILiveOfficialPresenter
限定符和类型 | 字段和说明 |
---|---|
protected OfficialChannelPresenter |
mChannelPresenter |
protected int |
mOfficeWidth |
protected OfficialChannelAdapter |
mOfficialChannelAdapter |
protected androidx.recyclerview.widget.RecyclerView |
mOfficialChannelRecyclerView |
protected OfficialChannelListInfo |
mOfficialListInfo |
protected android.widget.PopupWindow |
mOfficialPopupWindow |
构造器和说明 |
---|
LiveOfficialPresenter() |
限定符和类型 | 方法和说明 |
---|---|
void |
destroy() |
void |
fetchOfficialListInfo(java.lang.String programme_id,
boolean b,
boolean b1) |
boolean |
hasLayer(boolean closeLayer) |
void |
hideOfficialChannelPopWindow() |
boolean |
initialize(android.view.View rootView,
ILiveInfoWrapper liveInfoWrapper)
初始化view
|
boolean |
invalid() |
void |
noShow3MinuteToast(java.lang.String vid,
long time) |
void |
onBeOfficialLive(java.lang.String id,
java.lang.String name) |
void |
OnNextVideo(com.app.live.activity.VideoDataInfo dataInfo)
离开官方直播间
|
void |
onOfficialLiveAMostEnd(java.lang.String vid) |
void |
onOfficialNotification(java.lang.String content,
boolean needFollow) |
void |
onOfficialShowDelayDialog(int minutes) |
void |
release() |
void |
showOfficialChannelPopWindow(OfficialChannelListInfo info,
boolean autoDismiss) |
void |
showOfficialEndDialog() |
void |
showOfficialToast(java.lang.String content) |
void |
subscribeOfficialChannel() |
void |
updateOfficialFollowState(OfficialChannelListInfo info) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newInstance
protected OfficialChannelPresenter mChannelPresenter
protected OfficialChannelListInfo mOfficialListInfo
protected android.widget.PopupWindow mOfficialPopupWindow
protected int mOfficeWidth
protected OfficialChannelAdapter mOfficialChannelAdapter
protected androidx.recyclerview.widget.RecyclerView mOfficialChannelRecyclerView
public boolean initialize(@NonNull android.view.View rootView, ILiveInfoWrapper liveInfoWrapper)
IViewPresenter
initialize
在接口中 IViewPresenter
rootView
- 根viewpublic void showOfficialChannelPopWindow(OfficialChannelListInfo info, boolean autoDismiss)
public void updateOfficialFollowState(OfficialChannelListInfo info)
public void onOfficialNotification(java.lang.String content, boolean needFollow)
public void onOfficialShowDelayDialog(int minutes)
public void OnNextVideo(com.app.live.activity.VideoDataInfo dataInfo)
OfficialChannelContract.View
OnNextVideo
在接口中 OfficialChannelContract.View
public void onBeOfficialLive(java.lang.String id, java.lang.String name)
onBeOfficialLive
在接口中 OfficialChannelContract.View
public void onOfficialLiveAMostEnd(java.lang.String vid)
public void noShow3MinuteToast(java.lang.String vid, long time)
public void hideOfficialChannelPopWindow()
public void fetchOfficialListInfo(java.lang.String programme_id, boolean b, boolean b1)
fetchOfficialListInfo
在接口中 ILiveOfficialPresenter
public void showOfficialEndDialog()
showOfficialEndDialog
在接口中 ILiveOfficialPresenter
public void subscribeOfficialChannel()
public void showOfficialToast(java.lang.String content)
public boolean invalid()
invalid
在接口中 IViewPresenter
public void release()
release
在接口中 IViewPresenter
public boolean hasLayer(boolean closeLayer)
hasLayer
在接口中 IViewPresenter
public void destroy()
destroy
在接口中 IPageLifecycle