AbstractItem

abstract class AbstractItem

Functions

describeContents
Link copied to clipboard
open fun describeContents(): Int
equals
Link copied to clipboard
abstract fun equals(o: Any): Boolean
getLayout
Link copied to clipboard
abstract fun getLayout(): Int
open fun getLayout(flavor: String): Int
getThumbnailBitmap
Link copied to clipboard

Return Thumbnail in full size.

open fun getThumbnailBitmap(): Bitmap

Return the Thumbnail, do not call in Main Thread and use #getThumbnailResId() if #hasStaticThumbnail

open fun getThumbnailBitmap(maxWidth: Int): Bitmap
getThumbnailResId
Link copied to clipboard

Get the static thumbnail drawable resource id if exist.

open fun getThumbnailResId(): Int
getViewHolderClass
Link copied to clipboard
open fun getViewHolderClass(): Class<Out DataSourceViewHolder>
hasStaticThumbnail
Link copied to clipboard

Check if it has a static thumbnail drawable.

open fun hasStaticThumbnail(): Boolean
hasThumbnail
Link copied to clipboard

Check if it has thumbnail.

open fun hasThumbnail(): Boolean
isClickable
Link copied to clipboard
open fun isClickable(): Boolean
onBind
Link copied to clipboard
open fun onBind(item: View)
setDirtyFlag
Link copied to clipboard
open fun setDirtyFlag(isDirty: Boolean)
writeToParcel
Link copied to clipboard
open fun writeToParcel(dest: Parcel, flags: Int)

Properties

FLAVOR_OPTION_LIST
Link copied to clipboard
val FLAVOR_OPTION_LIST: String
FLAVOR_OPTION_LIST_FOLDER_SUBITEM
Link copied to clipboard
val FLAVOR_OPTION_LIST_FOLDER_SUBITEM: String
FLAVOR_QUICK_OPTION_LIST
Link copied to clipboard
val FLAVOR_QUICK_OPTION_LIST: String
FLAVOR_QUICK_OPTION_LIST_FOLDER_SUBITEM
Link copied to clipboard
val FLAVOR_QUICK_OPTION_LIST_FOLDER_SUBITEM: String
isDirty
Link copied to clipboard
protected open val isDirty: Boolean
name
Link copied to clipboard
private open var name: String
thumbnailSource
Link copied to clipboard
private open val thumbnailSource: ImageSource