title: How to add a Hint in spinner
body: <p>XML code of spinner:</p>
  
  <pre><code>&lt;Spinner
      android:id="@+id/mySpinner"
      https://stackoverflow.com/questions       
      style="@style/Widget.AppCompat.DropDownItem.Spinner"
      android:layout_width="match_parent"
      android:layout_height="70dp" /&gt;`
  </code></pre>
  
  <p>.kotlin:</p>
  
  <pre><code>val myStrings = arrayOf("One", "Two" , "Three", "Four")
  mySpinner.adapter = ArrayAdapter(this, android.R.layout.simple_spinner_dropdown_item, myStrings)
  mySpinner.onItemSelectedListener = object : 
  AdapterView.OnItemSelectedListener {
      override fun onNothingSelected(parent: AdapterView&lt;*&gt;?) {
          TODO("not implemented") 
          //To change body of created functions use File | Settings | File Templates.
      }
  
      override fun onItemSelected(parent: AdapterView&lt;*&gt;?, view: View?, position: Int, id: Long) {
          TODO("not implemented") 
          //To change body of created functions use File | Settings | File Templates.
      }
  }}
  </code></pre>
  
  <p>Equal to the "hint" option in Edittext, I need a default text in a Spinner. </p>