library
- handle the toggling of expandable items within the FastAdapter
- update sample to follow this
sample
- alter the ExpandableItem to fit the Material Design Guideliens for expandable items
MIGRATION
- remove
fastItemAdapter.toggleExpandable(position);
from your onClick listener - change
if (((IExpandable) item).isExpanded())
toif (!((IExpandable) item).isExpanded())
in the onClick listener as the expantion is now done before the listener is called