title: Saving a TextView (DropDownList) to Database in Android
body: <p>I have <strong>TextViews (DropDownList)</strong> and <strong>EditTexts</strong> in my activity.</p>
  
  <pre><code>&lt;LinearLayout
      android:layout_width="fill_parent"  
      android:layout_height="fill_parent" &gt;
  
      &lt;TextView
          android:id="@+DropDownList/tv_SubBrand"
          android:layout_width="match_parent"
          android:layout_height="wrap_content" /&gt;
  
      &lt;TextView
          android:id="@+DropDownList/tv_InfoType"
          android:layout_width="match_parent"
          android:layout_height="wrap_content" /&gt;
  
      &lt;EditText
          android:id="@+id/txt_Remarks"
          android:layout_width="match_parent"
          android:layout_height="wrap_content" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I'd like to save the user input to my database but I'm having a problem in my Textviews because it is a DropDownList where in it has checkboxes inside the DropDownList and it <strong>can handle multiple options</strong>. Also, I can't cast it to OnCreate. </p>
  
  <p>Is there any solution aside from using SharedPreferences? Can I resolve it when I use ArrayList? If yes, can you show me on how to do it?</p>