public class FontPreviewItem extends FontItem
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<FontPreviewItem> |
CREATOR |
id, ORIGINAL_THUMBNAIL_SIZE
FLAVOR_OPTION_LIST, FLAVOR_OPTION_LIST_FOLDER_SUBITEM, FLAVOR_QUICK_OPTION_LIST, FLAVOR_QUICK_OPTION_LIST_FOLDER_SUBITEM, isDirty
Modifier | Constructor and Description |
---|---|
protected |
FontPreviewItem(android.os.Parcel in) |
|
FontPreviewItem(java.lang.String id,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
int |
getLayout()
Get the default layout res id of the list item view.
|
java.lang.Class<? extends DataSourceListAdapter.DataSourceViewHolder> |
getViewHolderClass()
Get the class of a ViewHolder to Display in List
|
boolean |
isSelectable() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
equals, hashCode, isDirty, setDirtyFlag
getData, getId
getLayout, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getThumbnailSource, hasStaticThumbnail, isClickable, setName
public static final android.os.Parcelable.Creator<FontPreviewItem> CREATOR
public FontPreviewItem(java.lang.String id, java.lang.String name)
protected FontPreviewItem(android.os.Parcel in)
public boolean isSelectable()
isSelectable
in interface DataSourceInterface
isSelectable
in class FontItem
public int getLayout()
DataSourceInterface
getLayout
in interface DataSourceInterface
getLayout
in class FontItem
@NonNull public java.lang.Class<? extends DataSourceListAdapter.DataSourceViewHolder> getViewHolderClass()
DataSourceInterface
getViewHolderClass
in interface DataSourceInterface
getViewHolderClass
in class FontItem
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class FontItem
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class FontItem