Skip to content

Instantly share code, notes, and snippets.

@JoeM-RP
Created August 15, 2018 04:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoeM-RP/6ce6959f23f71a6c977659983e5d11d3 to your computer and use it in GitHub Desktop.
Save JoeM-RP/6ce6959f23f71a6c977659983e5d11d3 to your computer and use it in GitHub Desktop.
private async Task<bool> Navigate(CopyItem parameter)
{
try
{
return await this.PushPageAsNewInstanceAsync<SamplePageViewModel>(vm =>
{
vm.Subject = parameter.Title;
vm.Copy = parameter.Body;
});
}
catch (Exception ex)
{
await Observable.Throw<Unit>(ex);
return false;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment