public class TuStickerChooseOption extends TuSdkComponentOption
构造器和说明 |
---|
TuStickerChooseOption()
贴纸选择控制器配置选项
|
限定符和类型 | 方法和说明 |
---|---|
TuStickerChooseFragment |
fragment()
创建贴纸选择控制器对象
|
java.util.List<StickerCategory> |
getCategories()
贴纸分类列表(默认: StickerLocalPackage.shared().getCategories())
|
int |
getCellLayoutId()
行视图布局ID
|
protected java.lang.Class<?> |
getDefaultComponentClazz()
图片编辑贴纸选择控制器类
|
protected int |
getDefaultRootViewLayoutId()
获取默认根视图布局资源ID
|
int |
getEmptyViewLayouId()
空视图布局ID
|
int |
getHeaderLayoutId()
分组头部视图布局ID
|
java.lang.String |
getTotalFooterFormater()
统计格式化字符 (默认: lsq_album_total_format [%1$s 张照片])
|
void |
setCategories(java.util.List<StickerCategory> mCategories)
贴纸分类列表(默认: StickerLocalPackage.shared().getCategories())
|
void |
setCellLayoutId(int resId)
设置行视图布局ID
|
void |
setEmptyViewLayouId(int mEmptyViewLayouId)
空视图布局ID
|
void |
setHeaderLayoutId(int mHeaderLayoutId)
分组头部视图布局ID
|
void |
setTotalFooterFormater(java.lang.String mTotalFooterFormater)
统计格式化字符 (默认: lsq_album_total_format [%1$s 张照片])
|
fragmentInstance, getComponentClazz, getRootViewLayoutId, setComponentClazz, setRootViewLayoutId
protected java.lang.Class<?> getDefaultComponentClazz()
getDefaultComponentClazz
在类中 TuSdkComponentOption
protected int getDefaultRootViewLayoutId()
getDefaultRootViewLayoutId
在类中 TuSdkComponentOption
{@link org.lasque.tusdk.geev2.impl.components.sticker.TuStickerChooseFragment}
public void setCellLayoutId(int resId)
resId
- 行视图布局ID (默认: tusdk_impl_component_widget_sticker_list_cell){@link org.lasque.tusdk.geev2.impl.components.widget.sticker.StickerListCell}
public int getCellLayoutId()
{@link org.lasque.tusdk.geev2.impl.components.widget.sticker.StickerListCell}
public int getHeaderLayoutId()
{@link org.lasque.tusdk.geev2.impl.components.widget.sticker.StickerListHeader}
public void setHeaderLayoutId(int mHeaderLayoutId)
mHeaderLayoutId
- 分组头部视图布局ID (默认:
tusdk_impl_component_widget_sticker_list_header){@link org.lasque.tusdk.geev2.impl.components.widget.sticker.StickerListHeader}
public java.lang.String getTotalFooterFormater()
public void setTotalFooterFormater(java.lang.String mTotalFooterFormater)
public int getEmptyViewLayouId()
public void setEmptyViewLayouId(int mEmptyViewLayouId)
public java.util.List<StickerCategory> getCategories()
public void setCategories(java.util.List<StickerCategory> mCategories)
public TuStickerChooseFragment fragment()