KoskiA
06/30/2021, 3:37 PMTransactionTooLargeException). Compose inflated our saved state by 3x for the Fragment! Kind of surprising given the functional, state-hoisting nature of Compose.
I've done some investigating, and there is no smoking-gun culprit, just some inefficiencies (assuming their not required) that add up on complex screens. Findings in π§΅KoskiA
06/30/2021, 3:39 PMLouis Pullen-Freilich [G]
06/30/2021, 3:52 PMDaniele Segato
06/30/2021, 4:34 PMAndrey Kulikov
06/30/2021, 4:40 PMcurrentCompositeKeyHash.toString(36) here. 36 is the largest supported radix. this shortens keys like 1634082918 into r0w2g6. Filed https://issuetracker.google.com/issues/192458970KoskiA
06/30/2021, 4:50 PMApplication.ActivityLifecycleCallbacks and FragmentManager.FragmentLifecycleCallbacks, and manually write the save state Bundle to a Parcel and call Parcel.dataSize(). We also crawl the bundle values to print detailed break-downsKoskiA
07/09/2021, 1:24 PMAndrey Kulikov
07/09/2021, 1:48 PM