Typo in spinner tutorial.
Change-Id: I2bacd7b417c21944703738cd410dc1ec67c1b554
This commit is contained in:
@@ -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