Example #1
0
        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");
                }
            }
        }
Example #2
0
 public async Task LoadAsync(PlaceListArgs args)
 {
     await PlaceList.LoadAsync(args);
 }