Components on my home screen loads very slowly. I assume it’s because I have too many blocks within the screen.initialize event. Any tips to avoid this issue ? I have no idea where else I place them.
@WatermelonIce@gopi Even if I replace them with loops it will still be slow na ? Cause the Screen.Initialize event has to do the same number of activities/procedures na ?
No… my app is a quiz app with levels & locking system. So dynamics component won’t work for me. But there are some blocks that can be replaced with loops. But im confused since the Screen.Initialize Event has to do the same number of actions even if we reduce the number of blocks.
This is how my problem looks like.
It takes a while for the Responsive sizing blocks to execute. So we can clearly see it’s original dimension first & it then get resized according to the code.
Note: I was able to reduce the number of blocks using the ‘for each item in list loop’. But still the same result cause the number of actions the Screen.Initialize block has to do is the same.
I was able to remove/reduce the white screen issue using 2 timers like this. Both have their duration set to “0”. But I can still see the components getting resized. Just a glimpse. Still, I can’t say it’s a solution. There must be even better ways to do this.
Note: This issue can be fixed by deleting the splash screen & placing everything on a single screen. But then the problem will be the cold start white screen (It will stay longer). So the thing is that fixing one will cause other problems
It has already been a week since I posted this issue.
I did my best to find a solution. But it still remains unsolved. So I now offer a reward. It’s not much, but this is all I could offer now.
The first to come up with a permanent solution to my issue gets a $10 reward.
Even if you are willing to create an extension for this, you will also have to explain the logic & the reason why it’s happening on certain devices only.
Note: You may have to check the linked topic & comments to understand my actual problem. The topic also contains a video. You can PM me if you have any other doubts.
This is a real bulky number to handel with a single event (at once). You can disable all these procedures one by one to check if these are creating issue for some (low-end?) devices.
Tip: Components with parameter set to fill parent does not need a responsive block!