abstract class DefaultParentItem : ParentItem
Default implementation of ChildItem
Author
Camerash
See Also
inner class ViewHolder : ViewHolder
Default implementation of the ViewHolder of ParentItem used in the FilterDrawer's RecyclerView |
DefaultParentItem()
Default implementation of ChildItem |
open fun getDefaultIconColorRes(): Int
Supply the color resource of icon used when none of the ChildItems under this ParentItem are selected |
|
open fun getDefaultTextColorRes(): Int
Supply the color resource used in title text when none of the ChildItems under this ParentItem are selected |
|
open fun getLayoutRes(): Int
Supply default layout resource |
|
open fun getRootLinearLayoutId(): Int
Supply default root LinearLayout id |
|
open fun getSelectedIconColorRes(): Int
Supply the color resource of icon used when one or more ChildItems under this ParentItem are selected |
|
open fun getSelectedTextColorRes(): Int
Supply the color resource used in title text when one or more ChildItems under this ParentItem are selected |
|
open fun getToggleExpandOnClickViewId(): Int
Supply the id of the view who is responsible for receiving the onClick event for toggling expansion of ParentItem. |
|
open fun getViewHolder(v: View): ViewHolder
Supply the default implementation of ViewHolder used by the ParentItem |
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 getParentIcon(): Int
Supply the drawable icon resource for the ParentItem |
|
abstract fun getParentTitle(): String
Supply title for the ParentItem |