title: How to prevent NULL spinner?
body: <p>I am populating a spinner from a DB. It works great. Except that if that part of the DB has not been filled out yet and the spinner is empty. That is a problem when someone tries to append to that part of the DB with a blank spinner, you get a <code>nullpointerexception</code>. I have tried all kinds of variations of </p>
  
  <pre><code>if (spinner == null) {warn the person and finish()}
  </code></pre>
  
  <p>Or </p>
  
  <pre><code>if (spinner.equals(""){warn the person blah blah blah}.
  </code></pre>
  
  <p>Any Solution?</p>