Interface DynamicRecyclerViewAdapter.DynamicRecyclerViewItem
- Enclosing class:
- DynamicRecyclerViewAdapter<VH extends RecyclerView.ViewHolder>
public static interface DynamicRecyclerViewAdapter.DynamicRecyclerViewItem
Implement this interface in the object class to get item type and section header text.
-
Method Summary
Modifier and TypeMethodDescriptionintThis method will be called to return the item type of this object.This method will be called to return the section title for the item typeDynamicRecyclerViewAdapter.TYPE_SECTION_HEADER.
-
Method Details
-
getItemViewType
int getItemViewType()This method will be called to return the item type of this object.- Returns:
- The item type of this object.
- See Also:
-
getSectionTitle
This method will be called to return the section title for the item typeDynamicRecyclerViewAdapter.TYPE_SECTION_HEADER.- Returns:
- The section title for the item type
DynamicRecyclerViewAdapter.TYPE_SECTION_HEADER.
-