diff --git a/app/src/main/java/com/willowtreeapps/spurceexampleapp/SpruceActivity.java b/app/src/main/java/com/willowtreeapps/spurceexampleapp/SpruceActivity.java index 4c4ca25..3a53b38 100644 --- a/app/src/main/java/com/willowtreeapps/spurceexampleapp/SpruceActivity.java +++ b/app/src/main/java/com/willowtreeapps/spurceexampleapp/SpruceActivity.java @@ -71,7 +71,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) { } sortDropDown = (Spinner) findViewById(R.id.sort_selection); - final ArrayAdapter spinnerAdapter = ArrayAdapter.createFromResource(this, + ArrayAdapter spinnerAdapter = ArrayAdapter.createFromResource(this, R.array.sort_functions, R.layout.spinner_item); spinnerAdapter.setDropDownViewResource(R.layout.support_simple_spinner_dropdown_item);