private async void ListView_ItemSelected(object sender, SelectedItemChangedEventArgs e) { var item = e.SelectedItem as MainPageMenuItem; if (item == null) { return; } switch (item.Title) { case "Profil": await Navi.PushAsync(new Profile()); break; case "Ustawienia": await Navi.PushAsync(new Settings()); break; case "Pomoc": await Navi.PushAsync(new Help()); break; case "O aplikacji": await Navi.PushAsync(new AboutApp()); break; } IsPresented = false; MasterPage.ListView.SelectedItem = null; }
public Task PushAsync(Page page, bool animated) { return(Navi.PushAsync(page)); }
public Task PushAsync(Page page) { return(Navi.PushAsync(page)); }
public async Task PushAsync(Page page) { await Navi.PushAsync(page); }
public async Task PushAsync(Page page, bool animated) { await Navi.PushAsync(page, animated); }