interface RecyclerAdapterFilter<Data, Parent : ParentItem, Child : ChildItem>
Interface for implementation of filter logic used in FilterableRecyclerAdapter
Data
- Your custom data type that implements DiffItemCallback
Parent
- Your custom parent type that extends ParentItem
Child
- Your custom child type that extends ChildItem
Author
Camerash
See Also
abstract fun filter(data: Data, parent: Parent, child: Child): Boolean
Called when filtering of data items happens |
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 |