library / com.camerash.filterdrawer

Package com.camerash.filterdrawer

Types

ChildAdapter

class ChildAdapter<Parent : ParentItem, Child : ChildItem> : Adapter<ViewHolder>

Adapter for ChildItem used in the FilterDrawer

ChildItem

abstract class ChildItem

Abstract class for base implementation of ChildItem used in FilterDrawer

DefaultChildItem

abstract class DefaultChildItem : ChildItem

Default implementation of ChildItem

DefaultParentItem

abstract class DefaultParentItem : ParentItem

Default implementation of ChildItem

DiffItemCallback

interface DiffItemCallback<Data>

Interface used for adapting DiffCallback to custom data type

DrawerBuilder

class DrawerBuilder<Parent : ParentItem, Child : ChildItem>

Builder for building the FilterDrawer

ExpandableLayoutIndicatorListener

class ExpandableLayoutIndicatorListener : OnExpansionUpdateListener

Used in conjunction with ExpansionLayout for rotation animation of the arrow indicator

FilterDrawer

class FilterDrawer<Parent : ParentItem, Child : ChildItem>

The actual FilterDrawer itself

FilterRecyclerViewDiffCallback

class FilterRecyclerViewDiffCallback<Data : DiffItemCallback<Data>> : Callback

DiffUtil Callback used for calculating changes in FilterableRecyclerAdapter

FilterableRecyclerAdapter

abstract class FilterableRecyclerAdapter<Data : DiffItemCallback<Data>, Parent : ParentItem, Child : ChildItem> : Adapter<ViewHolder>, OnChildSelectListener<Parent, Child>, RecyclerAdapterFilter<Data, Parent, Child>

Base implementation of RecyclerAdapter that is filterable by FilterDrawer

ParentAdapter

class ParentAdapter<Parent : ParentItem, Child : ChildItem> : Adapter<ViewHolder>

Adapter for ParentItem used in the FilterDrawer

ParentItem

abstract class ParentItem

Abstract class for base implementation of ParentItem used in FilterDrawer

RecyclerAdapterFilter

interface RecyclerAdapterFilter<Data, Parent : ParentItem, Child : ChildItem>

Interface for implementation of filter logic used in FilterableRecyclerAdapter