diff --git a/OlympusServices/.idea/caches/build_file_checksums.ser b/OlympusServices/.idea/caches/build_file_checksums.ser new file mode 100644 index 0000000..e001917 Binary files /dev/null and b/OlympusServices/.idea/caches/build_file_checksums.ser differ diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProviderServicesList.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProviderServicesList.java index 81a56e0..d8b57ac 100644 --- a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProviderServicesList.java +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProviderServicesList.java @@ -80,12 +80,10 @@ public class ServiceProviderServicesList extends AppCompatActivity implements De String[] current = (String[])iter.next(); services[i] = current[0]; } - ArrayAdapter servicesadapter = new ArrayAdapter - (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() {