Now let's create the screens that we need to navigate between them.
For that, I remove this composable and I'll create a new composable called First Screen.
And this first screen displays only a text.
This is the first screen.
Also, we need to create a button.
And inside the row scoop we need to create a text.
Go to next screen or second screen.
This is the first composable screen.
In order to display it, we can go to the greeting preview and we call the first screen Build and Refresh
and remove the greeting.
I'll include them into a column, so I'll move this text and button to a column.
And here we go.
This is our first screen.
Now let's design the second screen.
I'll create a new composable named as second screen.
Let me call this in the preview.
So second screen again I create a column containing a text.
This is the second screen and a button with a row scoop containing text.
Go to first screen.