Marc
09/05/2023, 10:42 AMScreenModel
. My problem is that the ScreenModel
must implement JavaSerializable
since it gets serialised for state preservation. If I don't implement it, the app just crashes whenever screen orientation changes, the phone goes into standby mode, etc... This however makes injecting objects using Kodein annoying if I just define them in the `ScreenModel`class, since the serialisation process then tries to serialise the injected objects. This is the only way I found to work around it, but surely there is a better way?Kyle
10/13/2023, 1:02 AM