public class FolderItem<T extends AbstractIdItem> extends AbstractIdItem
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<FolderItem> |
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 |
---|---|
|
FolderItem(int name,
ImageSource thumbnailSource,
java.util.ArrayList<T> itemList) |
protected |
FolderItem(android.os.Parcel parcel) |
|
FolderItem(java.lang.String name,
ImageSource thumbnailSource,
java.util.ArrayList<T> itemList) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(AbstractIdItem item) |
int |
describeContents() |
int |
getFolderSize() |
DataSourceIdItemList<T> |
getItemList() |
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
|
boolean |
isOpen() |
boolean |
isSelectable() |
void |
setOpen(boolean open) |
void |
writeToParcel(android.os.Parcel parcel,
int flags) |
equals, getData, getId, hashCode
getLayout, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getThumbnailSource, hasStaticThumbnail, isClickable, isDirty, setDirtyFlag, setName
public static final android.os.Parcelable.Creator<FolderItem> CREATOR
public FolderItem(@Nullable java.lang.String name, @Nullable ImageSource thumbnailSource, java.util.ArrayList<T> itemList)
public FolderItem(int name, @Nullable ImageSource thumbnailSource, java.util.ArrayList<T> itemList)
protected FolderItem(android.os.Parcel parcel)
public boolean isOpen()
public void setOpen(boolean open)
public int getFolderSize()
public DataSourceIdItemList<T> getItemList()
public int getLayout()
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 boolean contains(AbstractIdItem item)
@NonNull public java.lang.Class<? extends DataSourceListAdapter.DataSourceViewHolder> getViewHolderClass()
DataSourceInterface
getViewHolderClass
in interface DataSourceInterface
getViewHolderClass
in class AbstractItem
public void writeToParcel(android.os.Parcel parcel, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class AbstractIdItem