Hi. I have a Custom SideMenu (subclass of ContentView) with the following methods.
public void Show()
{
var rect = new Rectangle(0, 0, Width, Height);
Device.BeginInvokeOnMainThread(async () =>
{
await this.LayoutTo(rect, 450);
});
}
public void Hide()
{
var rect = new Rectangle(Width, 0, Width, Height);
Device.BeginInvokeOnMainThread(async () =>
{
await this.LayoutTo(rect, 450);
});
}
- Windows Phone - Works fine. - OK.
- Android - when the transition ends, after 15-20 seconds the view disappears. Always. - NOT OK.
- iOS - disappeared only twice so far and could not reproduce it again - ACCEPTABLE.
Am I doing something wrong? Anyone with the same problem?