title: How to make clear(empty/without values) spinner on clearbutton
body: <p>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 )</p>
  
  <pre><code>spinner=  (Spinner) view.findViewById(R.id.mylistspinner);
  
  list= new ArrayList&lt;String&gt;();
  
  list.add("");
  
  list.add("1");        
  list.add("2");
  
  adapter= new ArrayAdapter&lt;String&gt;(getActivity(),R.layout.custom_spinner_text,list);
          adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
          spinner.setAdapter(urineGlucoseAdapter);
          spinner.setOnItemSelectedListener(new OnUGItemSelected());
  </code></pre>