opatry / taskfolio

An Android task management app built using Google Tasks API. Developed to demonstrate my expertise in modern Android development.
https://opatry.github.io/taskfolio/
MIT License
0 stars 0 forks source link

Fix crash at rotation when a task list is selected (fixes #10) #13

Closed opatry closed 3 days ago

opatry commented 3 days ago

The issue was that rememberListDetailPaneScaffoldNavigator, under the hood, uses rememberSaveable on the stored destination. So, if such object isn't Serializable/Parcelable, it crashes with IllegalArgumentException: item can't be saved.