set the default value in OneTimeCommunication and CopySenttoIt

parent 628c9287
...@@ -42,7 +42,7 @@ public class Util { ...@@ -42,7 +42,7 @@ public class Util {
case YES_NO: case YES_NO:
Spinner spinner = new Spinner(context); Spinner spinner = new Spinner(context);
ArrayAdapter<String> spinnerArrayAdapter = ArrayAdapter<String> spinnerArrayAdapter =
new ArrayAdapter<>(context, android.R.layout.simple_spinner_item, new String[] {"Yes", "No"}); new ArrayAdapter<>(context, android.R.layout.simple_spinner_item, new String[] {"None","Yes", "No"});
spinnerArrayAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); spinnerArrayAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
spinner.setAdapter(spinnerArrayAdapter); spinner.setAdapter(spinnerArrayAdapter);
return spinner; return spinner;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment