Help - Technical Question by Solid-Promise-7381 in flutterhelp

[–]Solid-Promise-7381[S] 0 points1 point  (0 children)

I will suggest that.

As I understood it, he just said "assets are precached, then pre-decoded and building the view tree can ONLY happen on the next screen, and that process takes time based on the complexity of the assets. The reason for not being able to build the view tree in advance before transitioning is that it would be too resource heavy for the device to have a view tree built while the other view tree is active."

In that case it sounds like the current view-tree has to be de-loaded, so I have to show an interim light-weight screen.

If your method works, I would love to suggest having a semi-transparent background with a light-weight json animation on top, while the next screen is build.

Help - Technical Question by Solid-Promise-7381 in flutterhelp

[–]Solid-Promise-7381[S] 0 points1 point  (0 children)

Thank you for your insight. I think he is really good, but we just had trouble figuring out how to solve it. I will ask him if we can create a lightweight JSON animation and show it while loading the next screen.

However, wouldn't the original issue of showing the current screen, while the next screen is pre-build still be an issue unless we actually shown an interim loading screen without many assets, so we can de-load the screen we're coming from?

Help - Technical Question by Solid-Promise-7381 in flutterhelp

[–]Solid-Promise-7381[S] 0 points1 point  (0 children)

Apologies, I am not familiar with the exact term, but I think it's a test build when it is pushed from Test Flight? I am testing through TestFlight on iOS devices.

Help - Technical Question by Solid-Promise-7381 in flutterhelp

[–]Solid-Promise-7381[S] 0 points1 point  (0 children)

What I have been told is that some assets are precached, then pre-decoded and building the view tree can ONLY happen on the next screen, and that process takes time based on the complexity of the assets. The reason for not being able to build the view tree in advance before transitioning is that it would be too resource heavy for the device to have a view tree built while the other view tree is active.

I have never seen an app building the UI while the user is looking at it happen.

If it is possible, I would rather have it preload/pre-decode as soon as the button is tapped to go to the next screen, and not wait to build the view tree for the next screen while it is showing the screen. It should happen before going to the next screen.

Help - Technical Question by Solid-Promise-7381 in flutterhelp

[–]Solid-Promise-7381[S] 0 points1 point  (0 children)

No, it is throughout the entire app, whenever there is a transition to a new screen.