From 9b375068ac96e40839a51bb06ff2d31fea0835d7 Mon Sep 17 00:00:00 2001 From: Anirudh Dewani Date: Fri, 24 Jun 2011 16:30:20 +0530 Subject: Typo in spinner tutorial. Change-Id: I2bacd7b417c21944703738cd410dc1ec67c1b554 --- docs/html/resources/tutorials/views/hello-spinner.jd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/html/resources/tutorials/views/hello-spinner.jd b/docs/html/resources/tutorials/views/hello-spinner.jd index 7a3a9c3..e9dc20f 100644 --- a/docs/html/resources/tutorials/views/hello-spinner.jd +++ b/docs/html/resources/tutorials/views/hello-spinner.jd @@ -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(); } -- cgit v1.1