Exemplo n.º 1
0
        private async void Init()
        {
            // TODO: make the inner call async?
            Application.Current.Dispatcher.BeginInvoke(new Action(() =>
            {
                _background = _client.GetMeTileBmp();
            }));

            _themeColor = await _client.GetDeviceThemeAsync();

            SetColorProperties();

            // Notify that all properties have changed
            NotifyPropertyChanged(null);

            _inited = true;
        }