abstract inner class ViewHolder : ViewHolder
Base implementation of the ViewHolder of ParentItem used in the FilterDrawer's RecyclerView
v
- View used in constructing ViewHolder
See Also
ViewHolder(v: View)
Base implementation of the ViewHolder of ParentItem used in the FilterDrawer's RecyclerView |
var expandableView: ExpandableLayout
The ExpandableLayout which host the child RecyclerView |
|
var recyclerView: RecyclerView
The ChildItem RecyclerView |
abstract fun bindView(parent: ParentItem): Unit
Called when ViewHolder binds with ParentItem |
|
fun getColor(color: Int): Int
Helper method for Supply color from color resource |
|
abstract fun onChildDeselect(parent: ParentItem, childSet: Set<ChildItem>): Unit
Called when one of the ChildItem is deselected |
|
abstract fun onChildSelect(parent: ParentItem, childSet: Set<ChildItem>): Unit
Called when one of the ChildItem is selected |
|
abstract fun onReset(parent: ParentItem): Unit
Called when the FilterDrawer resets |
inner class ViewHolder : ViewHolder
Default implementation of the ViewHolder of ParentItem used in the FilterDrawer's RecyclerView |