Comments (6)
Same problem here, it happens if for example I open via Intent a link in a browser.
from voyager.
Suppose, that ScreenSize is not serializable model. Try to obtain it through composition local providers
from voyager.
Voyager Screens parameters should act like a State that can the Save with the Saver
Compose API.
By default all Voyager Screen are Java Serializable
, but you can override it by using for exemple Parcelable
if you want.
@shpasha recommendation is the best for solving your issue
from voyager.
I have the same problem and don't really understand how to solve it.
from voyager.
Voyager Screens parameters should act like a State that can the Save with the
Saver
Compose API.By default all Voyager Screen are
Java Serializable
, but you can override it by using for exempleParcelable
if you want.@shpasha recommendation is the best for solving your issue
Sorry, could you have a code example for this one? That would be very helpful.
from voyager.
I solved the problem, its due to passing a Navigator Instance from a Screen to. a Screen instead i used the
val navigator = LocalNavigator.currentOrThrow.parent
from voyager.
Related Issues (20)
- voyager-koin causes build error for iOS Simulator HOT 2
- What is the right way to have different Windowinsets for every screen HOT 2
- Dispatchers.Main in androidUnitTest kmm HOT 4
- Crashing in bottom navigation
- Nested Screen in Bottom Navigation HOT 1
- Voyager 1.1.0-beta01 issues HOT 7
- navigator will close automatically HOT 3
- CompositionLocal LocalLifecycleOwner not present HOT 2
- Compose multiplatform build failed HOT 2
- Popping navigator in background doesn't work
- navigator.pop() followed by navigator.push(screen) does not dispose the ScreenModel from the popped screen HOT 8
- Crash on Android because ScreenTransition do not inherit from Serializable HOT 5
- Double Navigation Bar Issue. HOT 1
- Can't pass the Dynamic Data using Tab Navigator
- iOS swipe to close does not work HOT 1
- Koin ScreenModel inject crash starting from 1.1.0-alpha04 HOT 1
- Screen transition broken in 1.1.0-beta02
- Can't pop root in Compose for Desktop
- [Desktop] Density is not updated on changing the window to a screen with different density
- [KMP ViewModels][Voyager][Koin] Crush if you try to navigate back
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voyager.