compactmap icon indicating copy to clipboard operation
compactmap copied to clipboard

onsavedinstancestate restoreinstancestate issue

Open AhmedX6 opened this issue 3 years ago • 2 comments

Hello,

when storing large map onSavedInstanceState it crashes with TransactionTooLargeException.

Do you have any solution ?

AhmedX6 avatar Jun 04 '22 00:06 AhmedX6

Could you clarify/provide steps to reproduce?

vlsi avatar Jun 04 '22 04:06 vlsi

Hello,

image

Here I this crash:

!!! FAILED BINDER TRANSACTION !!! (parcel size = 45086448)

I have a large amount of data on this map. Is it possible to compress it ?

Step to reproduce:

Override onSavedInstanceState on Fragment create a compactMap with a lot of data on it then lock your phone

AhmedX6 avatar Jun 04 '22 22:06 AhmedX6

I guess it is a duplicate of https://github.com/vlsi/compactmap/issues/9, and it should probably be resolved in 2.0.1

vlsi avatar Dec 13 '23 13:12 vlsi