AbsoluteLayout.Children.Add slow performance

Hi,

I did a custom navigation in my app based on an AbsoluteLayout which acts as a container for other views I navigate to.

When I navigate to a new view, I add it to the AbsoluteLayout container with Children.Add() but it's painfully slow on my Nexus 6P. It takes 350-400ms to add the view and causes my animations to lag. Of course, I did use async/await for animations and I instanciate views off main thread so it won't block UI thread. Still, the main thread seems busy when animating the navigation because I just can't see the animation happen (or barely with 1 to 2 frames).

Does anyone has a tip or a trick to add a child faster ?

Sign In or Register to comment.