我必须将选定的微调器索引的数据传递给Xamarin中的另一个活动
Spinner spinner1 = FindViewById<Spinner> (Resource.Id.spinner1);
var spinActivity = new Intent (this, typeof(Activity2));
spinActivity.PutExtra("spin",(string)spinner1.GetItemAtPosition(e.Position));
StartActivity (spinActivity);
答案 0 :(得分:0)