Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:text="Profession: "
- android:id="@+id/labelProfession"
- android:singleLine="true" />
- <Spinner
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:id="@+id/spinnerProfession"
- android:visibility="gone"
- android:layout_weight="0.5"
- android:spinnerMode="dialog" />
- HashMap<String, String> data = new HashMap<String, String>();
- data.put(ResponseDTO.TAG_ID, String.valueOf(mProfile.getmId()));
- data.put(ResponseDTO.TAG_PASSWORD, sharedPref.getString(ResponseDTO.TAG_PASSWORD,""));
- for (int i=0; i<mSpinnerList.size(); i++) {
- data.put(<<ValueOfCorrespondingTextView>>,mSpinnerList.get(i).getselection())
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement