public async Task LoadAsync(PlaceListArgs args, bool silent = false) { ViewModelArgs = args ?? PlaceListArgs.CreateEmpty(); Query = ViewModelArgs.Query; if (silent) { await RefreshAsync(); } else { StartStatusMessage("Loading places..."); if (await RefreshAsync()) { EndStatusMessage("Places loaded"); } } }
public async Task LoadAsync(PlaceListArgs args) { await PlaceList.LoadAsync(args); }