From 30b43228a9be788205f6125f3473fb7f91c07bf3 Mon Sep 17 00:00:00 2001 From: teddywilson Date: Mon, 10 Jul 2017 12:57:20 -0400 Subject: [PATCH] used String.valueOf for integer in text view --- .../com/willowtreeapps/spurceexampleapp/SpruceActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);