Can AbsoluteLayout be used to stack elements vertically?

scxpscxp Member ✭✭

Instead of using StackLayout, can I use AbsoluteLayout to do the same thing? The height of each element depends on its content, so I can't hard-code height or Y-axis proportions. I'm trying to use AbsoluteLayout in ListView since I'm having performance issues with other layouts on iOS.

Answers

  • RHudsonRHudson CAMember ✭✭✭

    Can you post your XAML so we can see what exactly you're trying to do? And to see what is causing performance issues?

    I've done some very complex ListViews, with template selectors, and they've been buttery smooth on ios

  • scxpscxp Member ✭✭

    @RHudson I can't post it right now, but I reduced the issue to the fact that I have a label with multiple spans. Seems like iOS ListView is performing badly with spans.

    I'm guessing my issue is the same as this: https://github.com/xamarin/Xamarin.Forms/issues/5087

Sign In or Register to comment.