public class FontItem extends AbstractIdItem
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<FontItem> |
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 |
FontItem(android.os.Parcel in) |
|
FontItem(java.lang.String id,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
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
|
int |
hashCode() |
boolean |
isDirty() |
boolean |
isSelectable() |
void |
setDirtyFlag(boolean isDirty) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getData, getId
getLayout, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getThumbnailSource, hasStaticThumbnail, isClickable, setName
public static final android.os.Parcelable.Creator<FontItem> CREATOR
public FontItem(java.lang.String id, java.lang.String name)
protected FontItem(android.os.Parcel in)
public boolean isSelectable()
public boolean isDirty()
isDirty
in interface DataSourceInterface
isDirty
in class AbstractItem
public void setDirtyFlag(boolean isDirty)
setDirtyFlag
in interface DataSourceInterface
setDirtyFlag
in class AbstractItem
public int getLayout()
DataSourceInterface
getLayout
in interface DataSourceInterface
getLayout
in class AbstractItem
public boolean equals(java.lang.Object o)
equals
in class AbstractIdItem
public int hashCode()
hashCode
in class AbstractIdItem
@NonNull public java.lang.Class<? extends DataSourceListAdapter.DataSourceViewHolder> getViewHolderClass()
DataSourceInterface
getViewHolderClass
in interface DataSourceInterface
getViewHolderClass
in class AbstractItem
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class AbstractIdItem
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class AbstractIdItem