public class CropAspectItem extends AbstractIdItem
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<CropAspectItem> |
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 |
CropAspectItem(android.os.Parcel in) |
|
CropAspectItem(java.lang.String id) |
|
CropAspectItem(java.lang.String id,
int name) |
|
CropAspectItem(java.lang.String id,
int name,
ImageSource imageSource) |
|
CropAspectItem(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.String |
getName(ConfigMap<CropAspectAsset> cropAspectMap) |
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, getData, getId, hashCode
getLayout, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getThumbnailSource, hasStaticThumbnail, isClickable, isDirty, setDirtyFlag, setName
public static final android.os.Parcelable.Creator<CropAspectItem> CREATOR
public CropAspectItem(java.lang.String id)
public CropAspectItem(java.lang.String id, @StringRes int name)
public CropAspectItem(java.lang.String id, @StringRes int name, ImageSource imageSource)
public CropAspectItem(java.lang.String id, java.lang.String name)
protected CropAspectItem(android.os.Parcel in)
public int getLayout()
DataSourceInterface
getLayout
in interface DataSourceInterface
getLayout
in class AbstractItem
public boolean isSelectable()
public java.lang.String getName(ConfigMap<CropAspectAsset> cropAspectMap)
@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