public class FilterItem extends AbstractIdItem
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<FilterItem> |
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 |
FilterItem(android.os.Parcel in) |
|
FilterItem(java.lang.String id,
int name) |
|
FilterItem(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.
|
int |
getLayout(java.lang.String flavor)
Get the flavored 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, getData, getId, hashCode
getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getThumbnailSource, hasStaticThumbnail, isClickable, isDirty, setDirtyFlag, setName
public static final android.os.Parcelable.Creator<FilterItem> CREATOR
public FilterItem(java.lang.String id, @StringRes int name)
public FilterItem(java.lang.String id, java.lang.String name)
protected FilterItem(android.os.Parcel in)
public int getLayout()
DataSourceInterface
getLayout
in interface DataSourceInterface
getLayout
in class AbstractItem
public int getLayout(java.lang.String flavor)
DataSourceInterface
getLayout
in interface DataSourceInterface
getLayout
in class AbstractItem
public boolean isSelectable()
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
@NonNull public java.lang.Class<? extends DataSourceListAdapter.DataSourceViewHolder> getViewHolderClass()
DataSourceInterface
getViewHolderClass
in interface DataSourceInterface
getViewHolderClass
in class AbstractItem