andydelso / aperture

An app to track Oscar nominees you have watched using KMP
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Moviegoers should see the first card in the list expanded by default #8

Open andydelso opened 6 months ago

andydelso commented 6 months ago

This may or may not come before the shared VM.

Right now with only one set of data for one year, we are showing the award card initially collapsed and this state is currently in the Composable for Android. This state should be hoisted into the VM for each card.

Along with that, the first card should always be expanded for the user.

A final note: We may not like this checklist design and change it in the future. So all this could change as well.

Short term: Just default expanded to true for our testing purposes.

Long term: Hoist the state into the shared viewmodel for each card, setting the first in the data to expanded, and the rest not.