Here is my breakfast spinner, with a selection of my possible breakfast meals in an array... how would i add the functionality to show the calories of the selected food by the user.
private void chooseBreakfast() {
spinner2 = (Spinner) findViewById(R.id.planspinner);
List<String> planlist = new ArrayList<String>();
planlist.add("Cereal");
planlist.add("Porrige");
planlist.add("Fruit");
ArrayAdapter<String> planAdapter1 = new ArrayAdapter<String>(this,
android.R.layout.simple_spinner_item, planlist);
planAdapter1.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
spinner2.setAdapter(planAdapter1);