Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Define Commands
public ReactiveCommand ShowActionSheetCommand { get; }
public ReactiveCommand ShowAlertCommand { get; }
public ReactiveCommand<CopyItem, bool> SelectItemCommand { get; }
/* Omitted */
ShowAlertCommand = ReactiveCommand.CreateFromTask(async (arg) => await ShowAlert());
ShowActionSheetCommand = ReactiveCommand.CreateFromTask(async (arg) => await ShowActionSheet());
SelectItemCommand = ReactiveCommand.CreateFromTask<CopyItem, bool>(async (arg) => await Navigate(arg));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.