library / com.camerash.filterdrawer / ChildAdapter / <init>

<init>

ChildAdapter(parent: Parent, childItemList: List<Child>, callback: (Set<Child>, Boolean) -> Unit)

Adapter for ChildItem used in the FilterDrawer

Parameters

Parent - Your custom parent type that extends ParentItem

Child - Your custom child type that extends ChildItem

parent - ParentItem hosting this ChildAdapter

childItemList - List of ChildItem

callback - Callback to ParentItem ViewHolder when selection changes. Boolean indicates whether

Author
Camerash

See Also

ChildItem

ParentAdapter