protected override async void OnWindowLoaded() { RntCache.RefillFrom(AppArgs); await ByfServer.SetURL(Default.ServerURL); if (ByfServer.IsOnline) { await ByfCache.RefillFromServer(ByfServer); } }
protected override async Task OnRefreshClickedAsync() { if (PickedList == null) { return; } StartBeingBusy($"Loading {PickedListName} ..."); await Task.Delay(1); await Task.Run(() => Parallel.Invoke(() => PickedList.ReloadList(), () => RntCache.RefillFrom(AppArgs))); StopBeingBusy(); }