Comments (9)
Thanks @Syer10. I was hoping it was something supported out of the box. It was pretty easy wiring things up on the Android side (thanks to Tachidesk 😉 ). Anyway, I'll give it a shot and see what happens. Thanks again.
from voyager.
I'm not sure if that's currently possible. Please let me know if you achieve something
from voyager.
I imagine its possible, the main thing with ScreenModels is that they are stored in the ScreenModelStore, if you implement the Screen interface or create a screen with a unique key, I imagine you could add it to the ScreenModelStore manually and manage its lifecycle with whatever iOS lifecycle APIs there are.
from voyager.
hey @thomaskioko . I was also looking for the same thing myself. Did you make it work? I couldn't even add voyager dependency (which includes ScreenModel) to commonMain because it's dependent to jetpack compose.
from voyager.
Hey @osrl I'm glad to know I'm not the only one who would like this. I just set it up on Android. I am yet to try to hack something out with the suggestion. Hopefully over the weekend.
from voyager.
I'm also in the same situation. Looking forward some solution.
from voyager.
Related Issues (20)
- OnBackPress not working properly
- navigator.getNavigatorScreenModel method is creating singleton instance of ScreenModel HOT 2
- How to hide bottom tab bar at specific screens?
- [Voyager + Koin] Screen back (pop) navigation causes screen composable to recreate view model
- rc08+ release breakes saving `SavedStateHandle` content for the `AndroidScreen` users HOT 1
- IllegalArgumentException: Key Screen:transition was used multiple times HOT 3
- TabNavigator scoped ScreenModel HOT 1
- Transitions in between Tab Navigator HOT 1
- ScreenModel created by Koin inside a Tab is recreated on Back Press HOT 10
- [Question] Compose Multiplatform for Web (Wasm) HOT 1
- Why doesn't tab options support dynamic icons?
- screenModelScope crashing when used in desktop app HOT 3
- Wasm support HOT 3
- Issue collecting info share view model
- ScreenModel not available on iOS HOT 1
- [Question] Nested navigation question
- [Android] Crash Koin injected dependencies all `null` in `ScreenModel` after updating to `1.0.0` HOT 3
- Transitions crashing after v1.0.0 migration HOT 3
- Crashing with `java.lang.IllegalStateException: no event up from DESTROYED` HOT 5
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.