19 lines
585 B
Markdown
19 lines
585 B
Markdown
# Deep links
|
|
|
|
!!! warning
|
|
Currently Voyager does not provided a built in solution to handle Deeplink and URIs. see [#149](https://github.com/adrielcafe/voyager/issues/149) and [#382](https://github.com/adrielcafe/voyager/issues/382)
|
|
|
|
You can initialize the `Navigator` with multiple screens, that way, the first visible screen will be the last one and will be possible to return (`pop()`) to the previous screens.
|
|
|
|
```kotlin
|
|
val postId = getPostIdFromIntent()
|
|
|
|
setContent {
|
|
Navigator(
|
|
HomeScreen,
|
|
PostListScreen(),
|
|
PostDetailsScreen(postId)
|
|
)
|
|
}
|
|
```
|