December 2018
Intermediate to advanced
416 pages
10h 30m
English
To be able to refresh the data without restarting the app, we will add a Refresh button to the toolbar. MainViewModel is responsible for handling any logic that we want to perform, and we must expose any action as an ICommand that we can bind to.
Let's start by creating the Refresh command property on MainViewModel by going through the following steps:
public ICommand Refresh => new Command(async() => { await LoadData ...Read now
Unlock full access