public async Task NavigationToCadastro() { var page = new Popups.PopupCadastroView(); await PopupNavigation.Instance.PushAsync(page); //await App.MasterDetail.Detail.Navigation.PushModalAsync(new CadastroTarefaView()); }
public async Task NavigationToCadastro(Tarefa tarefa = null) { var page = new Popups.PopupCadastroView(tarefa); await PopupNavigation.Instance.PushAsync(page); //if (tarefa != null) //{ // var page = new Popups.PopupCadastroView(tarefa); // await PopupNavigation.Instance.PushAsync(page); //} //else //{ //} }