Merge "Typo in spinner tutorial." into honeycomb-mr2
This commit is contained in:
committed by
Android (Google) Code Review
commit
1f82dc08f1
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user