Closed opatry closed 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.
rememberListDetailPaneScaffoldNavigator
rememberSaveable
Serializable
Parcelable
IllegalArgumentException: item can't be saved
The issue was that
rememberListDetailPaneScaffoldNavigator
, under the hood, usesrememberSaveable
on the stored destination. So, if such object isn'tSerializable
/Parcelable
, it crashes withIllegalArgumentException: item can't be saved
.