Revision 3d6041e8 src/com/rackspacecloud/android/AddServerActivity.java
b/src/com/rackspacecloud/android/AddServerActivity.java | ||
---|---|---|
93 | 93 |
flavorSpinner.setAdapter(flavorAdapter); |
94 | 94 |
} |
95 | 95 |
|
96 |
@Override |
|
97 | 96 |
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { |
98 | 97 |
if (parent == imageSpinner) { |
99 | 98 |
selectedImageId = images[position].getId(); |
... | ... | |
102 | 101 |
} |
103 | 102 |
} |
104 | 103 |
|
105 |
@Override |
|
106 | 104 |
public void onNothingSelected(AdapterView<?> parent) { |
107 | 105 |
} |
108 | 106 |
|
109 |
@Override |
|
110 | 107 |
public void onClick(View arg0) { |
111 | 108 |
if ("".equals(serverName.getText().toString())) { |
112 | 109 |
showAlert("Required Fields Missing", "Server name is required."); |
Also available in: Unified diff