fixed spinner i think?
This commit is contained in:
parent
60f9008151
commit
1634fcfb16
2 changed files with 2 additions and 4 deletions
BIN
OlympusServices/.idea/caches/build_file_checksums.ser
Normal file
BIN
OlympusServices/.idea/caches/build_file_checksums.ser
Normal file
Binary file not shown.
|
@ -80,12 +80,10 @@ public class ServiceProviderServicesList extends AppCompatActivity implements De
|
|||
String[] current = (String[])iter.next();
|
||||
services[i] = current[0];
|
||||
}
|
||||
ArrayAdapter<String> servicesadapter = new ArrayAdapter<String>
|
||||
(this, android.R.layout.simple_spinner_item, services);
|
||||
spinner.setItems(services);
|
||||
|
||||
|
||||
servicesadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
||||
|
||||
spinner.setAdapter(servicesadapter);
|
||||
|
||||
spinner.setOnItemSelectedListener(new MaterialSpinner.OnItemSelectedListener<String>() {
|
||||
|
||||
|
|
Loading…
Reference in a new issue