Loading docs/html/resources/tutorials/views/hello-spinner.jd +1 −1 Original line number Diff line number Diff line Loading @@ -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(); } Loading Loading
docs/html/resources/tutorials/views/hello-spinner.jd +1 −1 Original line number Diff line number Diff line Loading @@ -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(); } Loading