public class HomePageDataWrapper
extends java.lang.Object
构造器和说明 |
---|
HomePageDataWrapper() |
限定符和类型 | 方法和说明 |
---|---|
void |
addAnchorPageAboutMeItem(java.lang.String type,
com.app.user.account.AccountInfo info)
他人页简介模块
|
void |
addAnchorPagePlaceHolder(java.lang.String type)
他人页底部空白占位高度
|
void |
addPersonalBadgeList(java.lang.String type,
java.lang.Object object)
个人页/他人页徽章卡片
|
void |
addPersonalBasicList(java.lang.String type,
java.lang.Object object)
个人页/他人页基础信息卡片
|
void |
addPersonalEmptyItem(java.lang.String type)
个人页、他人页feed为空的item
|
void |
addPersonalInsNotBindItem(java.lang.String type,
int position)
添加ins 未绑定的item
|
void |
addPersonalInsTokenExpireItem(java.lang.String type,
int position)
添加ins token失效的item
|
void |
addPersonalItem(java.lang.String type,
int cardType,
int position) |
void |
addPersonalTagsList(java.lang.String type,
java.lang.Object object)
个人页/他人页标签卡片
|
void |
addPlaygroundVideosTitleData(java.lang.String type,
java.lang.String title)
添加 // Playground title数据
|
void |
addSearchInterestData(java.lang.String type,
com.app.homepage.presenter.bo.CardDataBO cardDataBO)
添加搜索页interest模块数据
|
void |
addSearchTagItem(java.lang.String type,
java.lang.Object object)
添加搜索页二级标签分类卡片
|
void |
addSearchTopicFlowData(java.lang.String type,
com.app.homepage.presenter.bo.CardDataBO cardDataBO)
添加搜索页topic flow模块数据
|
static HomePageDataWrapper |
getInstance() |
void |
updateAnchorLivingItem(java.lang.String type,
int position,
com.app.live.activity.VideoDataInfo videoDataInfo)
更新他人页正在直播item
如果没有则添加一个
|
public static HomePageDataWrapper getInstance()
public void addSearchInterestData(java.lang.String type, com.app.homepage.presenter.bo.CardDataBO cardDataBO)
type
- CMVideoPlayerFragment#STEM_FROM_SEARCH_PAGE
cardDataBO
- public void addSearchTopicFlowData(java.lang.String type, com.app.homepage.presenter.bo.CardDataBO cardDataBO)
type
- CMVideoPlayerFragment#STEM_FROM_SEARCH_PAGE
cardDataBO
- public void addPersonalItem(java.lang.String type, int cardType, int position)
public void updateAnchorLivingItem(java.lang.String type, int position, com.app.live.activity.VideoDataInfo videoDataInfo)
type
- position
- public void addPersonalInsTokenExpireItem(java.lang.String type, int position)
type
- position
- public void addPersonalInsNotBindItem(java.lang.String type, int position)
type
- public void addPersonalEmptyItem(java.lang.String type)
type
- public void addPlaygroundVideosTitleData(java.lang.String type, java.lang.String title)
type
- TYPE_NV_PLAYGROUND_GAME_TITLE_CARD
title
- public void addSearchTagItem(java.lang.String type, java.lang.Object object)
type
- object
- public void addPersonalBadgeList(java.lang.String type, java.lang.Object object)
type
- object
- public void addPersonalTagsList(java.lang.String type, java.lang.Object object)
type
- object
- public void addPersonalBasicList(java.lang.String type, java.lang.Object object)
type
- object
- public void addAnchorPageAboutMeItem(java.lang.String type, com.app.user.account.AccountInfo info)
public void addAnchorPagePlaceHolder(java.lang.String type)