title: How to create a multi selection spinner with checkbox in android
body: <p>I just wanna ask how can I create a multi selection spinner in android and the data that will be populated to is from the database. I saw this example here in SO <a href="https://stackoverflow.com/questions/5015686/android-spinner-with-multiple-choice">Android Spinner with multiple choice</a> and tried to use it but I don't know what to do next.   This is my spinner and adapter and I want to make it in multiselect spinner. Help me please...</p>
  
  <pre><code>spn_CustomerSegment = (Spinner)findViewById(R.id.spn_CustomerSegment);
      List&lt;String&gt; ConsumerSeg = databaseHandler.setItemOnConsumerSeg();
      ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(IreportMain.this, android.R.layout.simple_spinner_item, ConsumerSeg);
      adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
      spn_CustomerSegment.setAdapter(adapter);
  </code></pre>