Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Layout compression slowing down pages

$
0
0

Hello Folks,
today i tried the new layout compression feature, the results are quite disappointing.

In my last project, i have some complex view (lots of labels, stacklayout, grids, ecc...). They are working fine in IOS but i wanted to see if i can get more improvements. So i decided to add the magic CompressedLayout.IsHeadless=”true” to every layout without gestures, backgrounds etc...

Long story short: Now the pages are appearing waaay slower than before.

Before the change, when i navigated to a page, the content was immediately visible on screen. After enabling CompressedLayout, when i navigate to a page i see the background for like 2-3 seconds, then the content became visible.
The difference is very noticeable whitout measuring things in code or using inspectors.

Anyone noticed something similar? Its seem very odds to me... Any suggestion?

If you guys wants to try out this feature, use complex views, with lots of layouts to compress.

For now i switched back to my normal development without using CompressedLayout, maybe in future i'll do more tests.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>