I am working on an application that requires a lot of navigation between screens
the problem is, when I navigate between the 2 screens that I have, the app slowly gets slow.
that slowness that the app has after opening and closing the screens, led me to investigate why that happens.
and I found that thunkable when navigating between screens does not close them, I did several tests and found that it does not close them, and that is the reason why the application becomes slow.
The first test I did was, navigate between 2 screens, after the 10th time the application starts running a little slow.
The second test was, opened in another screen with a game in web view, when returning to the main screen the music of the game continues to be heard. To solve that, what I did was press the back button that android has and there the screen closed perfectly.
and finally I emulated the app to see the FPS by doing that action of opening and closing the screens several times, and this is what happened
hi muneer, i just did that. now I have to accommodate the components as they do not fit.
but hey, thanks muneer this is the solution for this situation.
Anyway thunkable should fix that, because the video, audio or some web with sound does not close they keep running
Yes, that would be the solution, but in my case it doesn’t help me much. I will continue looking for alternatives, because the snack browser only has a back button to close the previous screen, and my app has a button that executes the action and then I would have to close the current screen.
As there is no button to close the current screen, I have no way to do it because there is only the button to navigate between screens and what it does is open the screen, when this action is executed so many times the application slows down because you have many screens open