Hi guys i found a solution that Works for me. here is:
var dict = new Dictionary<int, string>();
dict.Add(1, "Tarjeta1");
dict.Add(2, "tarjeta2");
spinner.ItemSelected += new EventHandler<AdapterView.ItemSelectedEventArgs>(Spinner1_ItemSelected);
ArrayAdapter adapter = new ArrayAdapter(this,Android.Resource.Layout.SimpleSpinnerItem,dict.Values.ToArray());
adapter.SetDropDownViewResource(Android.Resource.Layout.SimpleSpinnerDropDownItem);
spinner.Adapter = adapter;
private void btnButton(Object sender,EventArgs e)
{
int intValue = Convert.ToInt32(spinner.SelectedItem.ToString().Replace("Tarjeta", string.Empty).Trim());
string strValue = intValue.ToString();
}
i hope this solution could help you.
Best regards.