public class SpaceItem extends OptionItem
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<SpaceItem> |
CREATOR |
id
FLAVOR_OPTION_LIST, FLAVOR_OPTION_LIST_FOLDER_SUBITEM, FLAVOR_QUICK_OPTION_LIST, FLAVOR_QUICK_OPTION_LIST_FOLDER_SUBITEM, isDirty, ORIGINAL_THUMBNAIL_SIZE
Modifier | Constructor and Description |
---|---|
|
SpaceItem(int sizeInDp) |
protected |
SpaceItem(android.os.Parcel in) |
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.
|
int |
getSize() |
int |
getSizeInDp() |
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) |
getId
getLayout, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getThumbnailSource, hasStaticThumbnail, isClickable, isDirty, setDirtyFlag, setName
public static final android.os.Parcelable.Creator<SpaceItem> CREATOR
public SpaceItem(int sizeInDp)
protected SpaceItem(android.os.Parcel in)
public int getLayout()
DataSourceInterface
getLayout
in interface DataSourceInterface
getLayout
in class OptionItem
public int getSizeInDp()
public boolean equals(java.lang.Object o)
equals
in class OptionItem
public boolean isSelectable()
isSelectable
in interface DataSourceInterface
isSelectable
in class OptionItem
public int getSize()
@NonNull public java.lang.Class<? extends DataSourceListAdapter.DataSourceViewHolder> getViewHolderClass()
DataSourceInterface
getViewHolderClass
in interface DataSourceInterface
getViewHolderClass
in class OptionItem
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class OptionItem
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class OptionItem