updateCardToggleStatus

Updates the toggle status of the CardView: Changes the card's size according to toggled.

Author

Arnau Mora

Since

20210406

Parameters

toggled

If the card should be toggled or not. If true, the card will be large, and more info will be shown.

pathSpannables

The first element should be pathSpannable, the second one, toggledPathSpannable.

heights

The first element should be the full height, the second one, the other cases' height.