Using listpicker as navbar,how to open and close screen between screens without memory problems

Need some help here.

I am using listpicker as a navbar like below in red

I have three screens :Screen1,Screen2,Screen3

My ElementsFromString is also Screen1,Screen2,Screen3

In Screen1 Blocks, I have code like below

blocks (1)

For Screen 2 and Screen 3 blocks how do i code to prevent from memory problems?

I am not able to use “close screen” and “open another screen” in sequence so i am not sure what to do…

Thank you in advance for answering this.

Use different screens wisely

If you decided to use different screens, then you should switch them correctly, else you will run out of memory after a while...      
The recommended method of switching screens in App Inventor
(Thanks Taifun)
 
Also see demo: multiscreen.aia
 
1 Like

@TIMAI2 , thank you very much. I have read all. To prevent the further issue, I think it’s better for me to redesign my app using buttons to control the visibility of the layout.

Thanks again

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.