コード例 #1
0
        public async void getDescribe()
        {
            myAPI = RestService.For <IMyAPI>("https://goldenspa.azurewebsites.net");
            DetailService result;

            if (Intent.GetStringExtra("ServiceId") == null)
            {
                result = await myAPI.GetCombo(Intent.GetStringExtra("ComboId"));
            }
            else
            {
                result = await myAPI.GetService(Intent.GetStringExtra("ServiceId"));
            }
            describe.Text = result.MoTa;
        }