Beispiel #1
0
        public async void Init()
        {
            _loggingService.Log("[MainViewModel] - Init");
            string result = await _downloadService.GetData("http://peter.switchmedia.asia/api/download-v1/listAssets/");

            if (result != null)
            {
                _loggingService.Log("[MainViewModel] - result exists load view data");
                _results = JsonConvert.DeserializeObject <Results>(result);
                LoadViewModelData(_results);
            }
        }