diff options
Diffstat (limited to 'docs/html/resources/tutorials/views/hello-spinner.jd')
-rw-r--r-- | docs/html/resources/tutorials/views/hello-spinner.jd | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |