title: How to use anko spinner?
body: <p>I'm trying to add a spinner inside an alert using anko. My code so far looks like this: </p>
  
  <pre><code>alert(getString(R.string.alert)) {
              positiveButton("Cool") { toast("Yess!!!") }
              customView {
                  linearLayout {
  
                      textView("I'm a text")
                      padding = dip(16)
                      orientation = LinearLayout.VERTICAL
                      spinner(R.style.Widget_AppCompat_Spinner) {
                          id = R.id.spinner_todo_category
                          prompt = "Select a Category"
                      }
  
  
  
                  }
              }
          }.show()
  </code></pre>
  
  <p>but I get compilation errors because apparently that's not how to call a spinner. I've been looking at the docs (<a href="https://github.com/Kotlin/anko/wiki" rel="nofollow noreferrer">Anko GitHub Wiki</a>) but it says nothing about spinners. </p>
  
  <p>Thanks in advance </p>