diff options
author | Anirudh Dewani <anirudhd@google.com> | 2011-06-24 16:30:20 +0530 |
---|---|---|
committer | Anirudh Dewani <anirudhd@google.com> | 2011-06-24 16:30:20 +0530 |
commit | 9b375068ac96e40839a51bb06ff2d31fea0835d7 (patch) | |
tree | fd86f49046c0f7476629c924c14c2b099292acf9 /docs/html/resources/tutorials | |
parent | f8d37ab6b35c6cdd44e833ae4bd65301f2d3543a (diff) | |
download | frameworks_base-9b375068ac96e40839a51bb06ff2d31fea0835d7.zip frameworks_base-9b375068ac96e40839a51bb06ff2d31fea0835d7.tar.gz frameworks_base-9b375068ac96e40839a51bb06ff2d31fea0835d7.tar.bz2 |
Typo in spinner tutorial.
Change-Id: I2bacd7b417c21944703738cd410dc1ec67c1b554
Diffstat (limited to 'docs/html/resources/tutorials')
-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(); } |