Presents a new screen and puts it on the pile.
Your structure is represented by the attribute below:
On the example below there’s a screen coming from BFF with a button that when clicked, open a new server-driven activity with a screen specified by BFF.
To test, your BFF’s endpoint should return a the screen with the code below and call it in the frontend. You can pass a local route or a remote one that will pass the screen endpoint to the one it will navigate.
Screen( child = Button( text = "Click me!", onPress = listOf( Navigate.PushStack( Route.Local( Screen( child = Text("Hello second Screen") ) ) ) ) ) )
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.