public class SpaceFillItem extends SpaceItem
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<SpaceFillItem> |
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 |
---|---|
|
SpaceFillItem(int weight) |
protected |
SpaceFillItem(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() |
java.lang.Class<? extends DataSourceListAdapter.DataSourceViewHolder> |
getViewHolderClass()
Get the class of a ViewHolder to Display in List
|
int |
getWeight() |
boolean |
isSelectable() |
void |
reset() |
void |
setSpaceRemaining(int spaceRemaining,
int fullSpaceWeight) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getSizeInDp
getId
getLayout, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getThumbnailSource, hasStaticThumbnail, isClickable, isDirty, setDirtyFlag, setName
public static final android.os.Parcelable.Creator<SpaceFillItem> CREATOR
public SpaceFillItem(int weight)
protected SpaceFillItem(android.os.Parcel in)
public int getLayout()
DataSourceInterface
getLayout
in interface DataSourceInterface
getLayout
in class SpaceItem
public int getWeight()
public void reset()
public boolean isSelectable()
isSelectable
in interface DataSourceInterface
isSelectable
in class SpaceItem
public void setSpaceRemaining(int spaceRemaining, int fullSpaceWeight)
@NonNull public java.lang.Class<? extends DataSourceListAdapter.DataSourceViewHolder> getViewHolderClass()
DataSourceInterface
getViewHolderClass
in interface DataSourceInterface
getViewHolderClass
in class SpaceItem
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class SpaceItem
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class SpaceItem