Why u have not tried with @Kshitij blocks
@iamwsumit
We have try but i am beginner so please find my aia and solve back press.
I have use screen_Screen
What is the problem in back press
Try my method that will work.
On back press invisible all screens and on conditions visible the screen that u want
try this
it is working fine
let see this
Use these blocks
@iamwsumit
There is screen 3 inside screen 2 when we will be in screen 3 and backpressure then there is problem. We can’t take a step back from your block
Im using this for multiple VerticalArrangements(Screens)
Probably isn’t the most eficient mode but works fine
There is:
MultipleScreensBottonNavigation.aia (9.3 KB)
MultipleScreensButtons.aia (3.2 KB)
I make 2 examples, one with botton navigation and one with buttons.
If this help you, please mark as solution
@Chocoduba_BR
Thank you very well for this.
But the problem is when we backpress it takes us directly to the home screen.
Forgets what screen we were on before.
I want it not to go to the direct home screen but go one step back
Well, you can use a global variable to store the last “screen” that you opened before, and use this to open the last screen when you press back. I can’t do this now in kodular because i need to work.