Làm cách nào để chuyển giá trị mục đã chọn trong Spinner thành chuỗi?
Tôi có 5 Spinners. Để làm cho nó tóm tắt điều này. Đây là Spinner trong xml <Spinner android:id="@+id/text_interested" android:layout_span="2" android:layout_width="wrap_content" android:layout_height="60px" android:entries="@array/interestedarrays" android:prompt="@string/interestedprompt" /> Đây là Spinner trong Java submitbtn.setOnClickListener(new OnClickListener() { public void onClick(View v) { interested.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { public void onItemSelected( AdapterView<?> adapterView, View view, int i, …