Hi everyone, I'm using the Voyager library for na...
# multiplatform
a
Hi everyone, I'm using the Voyager library for navigation in my Compose Multiplatform project. I'm encountering an issue when trying to pass Realm objects between screens. I receive a "not serializable" error when I attempt to pass these Realm objects as navigation data. How can I resolve this issue? Is there a recommended approach for passing Realm objects data using Voyager?
f
Hi, I'd suggest not passing the whole object trough parameters, instead pass an identifier so that the next screen can fetch its own item
🙌 1
a
Ooh okay thanks sir
f
Happy to help 🙂