Advertisement
Guest User

Untitled

a guest
Aug 30th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. <TextView
  2. android:layout_width="wrap_content"
  3. android:layout_height="wrap_content"
  4. android:layout_weight="1"
  5. android:textAppearance="?android:attr/textAppearanceMedium"
  6. android:text="Profession: "
  7. android:id="@+id/labelProfession"
  8. android:singleLine="true" />
  9.  
  10. <Spinner
  11. android:layout_width="0dp"
  12. android:layout_height="wrap_content"
  13. android:id="@+id/spinnerProfession"
  14. android:visibility="gone"
  15. android:layout_weight="0.5"
  16. android:spinnerMode="dialog" />
  17.  
  18. HashMap<String, String> data = new HashMap<String, String>();
  19. data.put(ResponseDTO.TAG_ID, String.valueOf(mProfile.getmId()));
  20. data.put(ResponseDTO.TAG_PASSWORD, sharedPref.getString(ResponseDTO.TAG_PASSWORD,""));
  21.  
  22. for (int i=0; i<mSpinnerList.size(); i++) {
  23. data.put(<<ValueOfCorrespondingTextView>>,mSpinnerList.get(i).getselection())
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement