Skip to content

Instantly share code, notes, and snippets.

@LuisAlbertoPenaNunez
Created March 3, 2018 17:11
Show Gist options
  • Save LuisAlbertoPenaNunez/5f052c49630f83db52e5d2b7b48c2b7c to your computer and use it in GitHub Desktop.
Save LuisAlbertoPenaNunez/5f052c49630f83db52e5d2b7b48c2b7c to your computer and use it in GitHub Desktop.
private async void OnMovieSelected(Movie movie)
{
if (movie == null)
return;
var navigationParameters = new NavigationParameters();
navigationParameters.Add(NavigationParametersKey.SelectedMovieId, movie.Id);
await _navigationService.NavigateAsync($"{nameof(MovieDetails)}", navigationParameters);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment