public class BulletinPresenter extends java.lang.Object implements BulletinContract.Presenter
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
NO_SELECTED_BULLETIN_INDEX |
| 构造器和说明 |
|---|
BulletinPresenter(BulletinContract.View bulletinView,
android.os.Handler mBaseHandler) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addOrEditBulletin(java.lang.String videoId,
com.kxsimon.video.chat.bulletin.BulletinInfo bulletinInfo,
boolean isRestoreLocal,
boolean isShop)
发布/编辑公告板
|
void |
addShopBulletin(java.lang.String videoId,
BulletinShopInfo shopInfo)
发布电商
|
void |
addView(BulletinContract.View view) |
void |
clearViews() |
void |
deleteBulletin(java.lang.String videoId,
boolean isShop)
删除公告板
|
java.util.List<com.kxsimon.video.chat.bulletin.BulletinInfo.BulletinRes> |
getBulletinResList()
获取公告板资源列表
|
int |
getCurrentBulletinIndex() |
com.kxsimon.video.chat.bulletin.BulletinInfo |
getCurrentBulletinInfo() |
BulletinShopInfo |
getShopInfo() |
void |
loadBulletinResList()
加载公告板资源列表
|
void |
removeView(BulletinContract.View view) |
void |
restoreLocalBulletin(java.lang.String videoId)
加载并发布本地保存的公告板信息
|
public static final int NO_SELECTED_BULLETIN_INDEX
public BulletinPresenter(BulletinContract.View bulletinView, android.os.Handler mBaseHandler)
public void addOrEditBulletin(java.lang.String videoId,
com.kxsimon.video.chat.bulletin.BulletinInfo bulletinInfo,
boolean isRestoreLocal,
boolean isShop)
BulletinContract.PresenteraddOrEditBulletin 在接口中 BulletinContract.Presenterpublic void deleteBulletin(java.lang.String videoId,
boolean isShop)
BulletinContract.PresenterdeleteBulletin 在接口中 BulletinContract.Presenterpublic void restoreLocalBulletin(java.lang.String videoId)
BulletinContract.Presenterpublic void addShopBulletin(java.lang.String videoId,
BulletinShopInfo shopInfo)
BulletinContract.PresenteraddShopBulletin 在接口中 BulletinContract.Presenterpublic void loadBulletinResList()
BulletinContract.Presenterpublic java.util.List<com.kxsimon.video.chat.bulletin.BulletinInfo.BulletinRes> getBulletinResList()
BulletinContract.PresentergetBulletinResList 在接口中 BulletinContract.Presenterpublic BulletinShopInfo getShopInfo()
getShopInfo 在接口中 BulletinContract.Presenterpublic com.kxsimon.video.chat.bulletin.BulletinInfo getCurrentBulletinInfo()
public int getCurrentBulletinIndex()
public void addView(BulletinContract.View view)
addView 在接口中 BasePresenter<BulletinContract.View>public void removeView(BulletinContract.View view)
removeView 在接口中 BasePresenter<BulletinContract.View>public void clearViews()
clearViews 在接口中 BasePresenter<BulletinContract.View>