Hi everyone, so i started android programming like a month ago, and i've got a probleme today.
The thing i want to do is : From a Item in the Spinner, when i select it there is a Text View changing on the back.
spin.setAdapter(adapter_city);
spin.setOnItemClickListener(this);
}
@Override
public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
switch(v.getId()){
case R.string.Paris : description.setText("blah blah");
}
}
and i would like the description fit with the resource.
Paris is in a xml called "cities", it's a value xml. Thank you.