using System; using System.Collections.Generic; using System.Threading.Tasks; using Xamarin.Forms.Internals; namespace Xamarin.Forms { public interface INavigationPageController { Task RemoveAsyncInner(Page page, bool animated, bool fast); Page Peek(int depth = 0); IEnumerable Pages { get; } int StackDepth { get; } Task PopAsyncInner(bool animated, bool fast = false); event EventHandler InsertPageBeforeRequested; event EventHandler PopRequested; event EventHandler PopToRootRequested; event EventHandler PushRequested; event EventHandler RemovePageRequested; } }