inner class ViewHolder : ViewHolder
Default implementation of the ViewHolder of ParentItem used in the FilterDrawer's RecyclerView
v
- View used in constructing ViewHolder
See Also
ViewHolder(v: View)
Default 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 |
fun bindView(parent: ParentItem): Unit
Called when ViewHolder binds with ParentItem |
|
fun onChildDeselect(parent: ParentItem, childSet: Set<ChildItem>): Unit
Called when one of the ChildItem is deselected |
|
fun onChildSelect(parent: ParentItem, childSet: Set<ChildItem>): Unit
Called when one of the ChildItem is selected |
|
fun onReset(parent: ParentItem): Unit
Called when the FilterDrawer resets |
fun getColor(color: Int): Int
Helper method for Supply color from color resource |