Typo in spinner tutorial.

Change-Id: I2bacd7b417c21944703738cd410dc1ec67c1b554
This commit is contained in:
Anirudh Dewani
2011-06-24 16:30:20 +05:30
parent f8d37ab6b3
commit 9b375068ac

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();
}