public class LiveRecommendPresenter extends java.lang.Object implements ILiveRecommendPresenter
| 限定符和类型 | 字段和说明 |
|---|---|
protected androidx.appcompat.widget.AppCompatButton |
mLiveRecommendForYouTv |
| 构造器和说明 |
|---|
LiveRecommendPresenter() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canShowForYouSwitch() |
void |
closeForYou() |
boolean |
hasLayer(boolean closeLayer) |
boolean |
initialize(android.view.View rootView,
ILiveInfoWrapper liveInfoWrapper)
初始化view
|
boolean |
invalid() |
void |
release() |
void |
showDefaultForYou() |
void |
showForYou() |
void |
showOrHideForYouSwitch() |
void |
showOrHideForYouSwitch(boolean isHide) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewInstancedestroyprotected androidx.appcompat.widget.AppCompatButton mLiveRecommendForYouTv
public boolean initialize(@NonNull
android.view.View rootView,
ILiveInfoWrapper liveInfoWrapper)
IViewPresenterinitialize 在接口中 IViewPresenterrootView - 根viewpublic void showOrHideForYouSwitch()
public void showOrHideForYouSwitch(boolean isHide)
public void showDefaultForYou()
showDefaultForYou 在接口中 ILiveRecommendPresenterpublic boolean canShowForYouSwitch()
canShowForYouSwitch 在接口中 ILiveRecommendPresenterpublic void showForYou()
showForYou 在接口中 ILiveRecommendPresenterpublic void closeForYou()
closeForYou 在接口中 ILiveRecommendPresenterpublic boolean invalid()
invalid 在接口中 IViewPresenterpublic void release()
release 在接口中 IViewPresenterpublic boolean hasLayer(boolean closeLayer)
hasLayer 在接口中 IViewPresenter