I have TextViews (DropDownList) and EditTexts in my activity.
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<TextView
android:id="@+DropDownList/tv_SubBrand"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:id="@+DropDownList/tv_InfoType"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/txt_Remarks"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
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 can handle multiple options. Also, I can't cast it to OnCreate.
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?