Merge "Typo in spinner tutorial." into honeycomb-mr2

This commit is contained in:
Anirudh Dewani
2011-06-26 23:02:56 -07:00
committed by Android (Google) Code Review

View File

@@ -105,7 +105,7 @@ public class MyOnItemSelectedListener implements OnItemSelectedListener {
public void onItemSelected(AdapterView<?> parent,
View view, int pos, long id) {
Toast.makeText(parent.getContext()), "The planet is " +
Toast.makeText(parent.getContext(), "The planet is " +
parent.getItemAtPosition(pos).toString(), Toast.LENGTH_LONG).show();
}