public class ImageStickerConfig extends AbstractConfig implements AbstractConfig.StickerConfigInterface
AbstractConfig.AspectConfigInterface, AbstractConfig.BindData, AbstractConfig.ColorConfigInterface, AbstractConfig.ConfigViewHolder, AbstractConfig.FontConfigInterface<T>, AbstractConfig.FrameConfigInterface, AbstractConfig.ImageFilterInterface, AbstractConfig.StickerConfigInterface, AbstractConfig.ToolConfigInterfaceAbstractConfig.StickerConfigInterface.STICKER_TYPE| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<ImageStickerConfig> |
CREATOR |
isDirty, NO_THUMBNAIL_ID, ORIGINAL_THUMBNAIL_SIZE| Modifier | Constructor and Description |
|---|---|
|
ImageStickerConfig(int name,
int drawableId,
int stickerId) |
protected |
ImageStickerConfig(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getLayout()
Get the layout res id of the list item view.
|
int |
getStickerId()
Get sticker drawable resource it, it can be a drawable or raw
|
AbstractConfig.StickerConfigInterface.STICKER_TYPE |
getType()
Return the type of the sticker
|
boolean |
isSelectable() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
createViewHolder, generateBindData, generateBindDataAsync, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getTitle, getVerticalLayout, hasStaticThumbnail, isClickable, isDirty, setDirtyFlagclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateViewHolder, generateBindData, generateBindDataAsync, getName, getVerticalLayout, isDirty, setDirtyFlagpublic static final android.os.Parcelable.Creator<ImageStickerConfig> CREATOR
public ImageStickerConfig(@StringRes
int name,
@DrawableRes @RawRes
int drawableId,
@DrawableRes @RawRes
int stickerId)
protected ImageStickerConfig(android.os.Parcel in)
@DrawableRes @RawRes public int getStickerId()
getStickerId in interface AbstractConfig.StickerConfigInterface@NonNull public AbstractConfig.StickerConfigInterface.STICKER_TYPE getType()
AbstractConfig.StickerConfigInterfacegetType in interface AbstractConfig.StickerConfigInterfaceAbstractConfig.StickerConfigInterface.STICKER_TYPEpublic int getLayout()
DataSourceInterfacegetLayout in interface DataSourceInterface<AbstractConfig.BindData>public boolean isSelectable()
isSelectable in interface DataSourceInterface<AbstractConfig.BindData>public int describeContents()
describeContents in interface android.os.ParcelabledescribeContents in class AbstractConfigpublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class AbstractConfig