PopStack

Here you’ll find PopStack description.

What is it?

Removes the current exhibition pile.

How to use it?

On the example below there’s a screen coming from BFF with a button that when clicked, closes the current activity.

To test, your BFF’s endpoint should return the screen with the code below and call it in the frontend.

Screen(
    child = Button(
        text = "Click me!",
        onPress = listOf(
            Navigate.PopStack()
        )
    )
)