Could you configure your view to use overridden output to show fields within a details element? Sure, but that kind of layout in configuration can be less intuitive to maintain over time.
This module provides a Collapsible List views display style that allows a site builder specify what fields should be shown in. the collapsible element. Uses custom Javascript to show / hide the specified content.