abstract class ParentItem
Abstract class for base implementation of ParentItem used in FilterDrawer
Author
Camerash
See Also
abstract inner class ViewHolder : ViewHolder
Base implementation of the ViewHolder of ParentItem used in the FilterDrawer's RecyclerView |
ParentItem()
Abstract class for base implementation of ParentItem used in FilterDrawer |
abstract fun allowSelectMultiple(): Boolean
Supply the option of whether the ChildItems of this ParentItem can be multi-selected |
|
abstract fun getChildCollection(): List<ChildItem>
Supply the list of ChildItem under this ParentItem |
|
abstract fun getDefaultIconColorRes(): Int
Supply the color resource of icon used when none of the ChildItems under this ParentItem are selected |
|
abstract fun getDefaultTextColorRes(): Int
Supply the color resource used in title text when none of the ChildItems under this ParentItem are selected |
|
abstract fun getLayoutRes(): Int
Supply the layout resource for the customization of ParentItem |
|
abstract fun getParentIcon(): Int
Supply the drawable icon resource for the ParentItem |
|
abstract fun getParentTitle(): String
Supply title for the ParentItem |
|
abstract fun getRootLinearLayoutId(): Int
Supply the root linear layout id for the customization of ParentItem |
|
abstract fun getSelectedIconColorRes(): Int
Supply the color resource of icon used when one or more ChildItems under this ParentItem are selected |
|
abstract fun getSelectedTextColorRes(): Int
Supply the color resource used in title text when one or more ChildItems under this ParentItem are selected |
|
abstract fun getToggleExpandOnClickViewId(): Int
Supply the view id who is responsible for receiving the onClick event for toggling expansion of ParentItem. |
|
abstract fun getViewHolder(v: View): ViewHolder
Supply the ViewHolder used by the ParentItem |
abstract class DefaultParentItem : ParentItem
Default implementation of ChildItem |