I'm using a spinner in my apps so i need a button reset .on click on clearButton button spinner should clear (no value should be displayed )
spinner= (Spinner) view.findViewById(R.id.mylistspinner);
list= new ArrayList<String>();
list.add("");
list.add("1");
list.add("2");
adapter= new ArrayAdapter<String>(getActivity(),R.layout.custom_spinner_text,list);
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
spinner.setAdapter(urineGlucoseAdapter);
spinner.setOnItemSelectedListener(new OnUGItemSelected());