I'm trying to make my app use as less RAM and CPU stuff, and I want to do that by closing the previous screen with the new opened screen.
Like Screen1 opens Screen2 and Screen2 opens Screen3 and Screen3 closes Screen1 and Screen2.
I've tried that like this:
Make Screen1 open Screen2 and execute command 'close screen'.
But the newly opened screen closes instead of closing Screen1 when I use this code. Is there an alternative way to do this?