public async Task TestPopWithInner() { var proxy = new NavigationProxy(); var inner = new NavigationTest(); proxy.Inner = inner; var child = new ContentPage { Content = new View() }; await proxy.PushAsync(child); var result = await proxy.PopAsync(); Assert.AreEqual(child, result); Assert.True(inner.Popped, "Pop was never called on the inner proxy item"); }
protected override Task <Page> OnPopAsync(bool animated) => _navigation.PopAsync(animated);
public async Task End() { await NavigationProxy.PopAsync(); }