HeaderFooterAdapter
A RecyclerView.Adapter that allows for adding header and footer views to a wrapped adapter.
This adapter acts as a wrapper around another AbsAdapter and provides functionality to prepend header views and append footer views to the list displayed by the RecyclerView.
Parameters
The AbsAdapter that this adapter will wrap. This adapter will display the items from the wrapped adapter along with any added headers and footers.
Functions
Adds a footer view to the adapter.
Adds a header view to the adapter.
Clears all footer views from the adapter.
Remove all headers from the list.
Returns the ViewData at the given position, or null if not available.
The filtered data set backing the adapter.
This method is similar to onBindViewHolder but ensures that partial bind with payload won't be applied for headers and footers.
Sets the listener to be invoked when a view holder is bound.
Sets the search filter listener for the picker view.
Submits a new list of items to the adapter.
Updates the given item in the adapter.