protected override async void OnAppearing() { base.OnAppearing(); if (UsuarioViewModel.Atual == null || UsuarioViewModel.Atual.Id == 0) { await App.Navigate(new LoginView()); } listagemNote.ItemsSource = await NoteViewModel.List(); }
protected override async void OnAppearing() { base.OnAppearing(); if (UsuarioViewModel.Atual == null || UsuarioViewModel.Atual.Id == 0) { await App.Navigate(new LoginView()); } listagemNote.ItemsSource = await NoteViewModel.List(); }