コード例 #1
0
 private void attachCity(String text) {
   String stateid = State.getid(text, this.getApplicationContext());
   Globals.user.setState(stateid);
   state.setTag(stateid);
   city.setAdapter(City.getAdapter(stateid, this));
 }
コード例 #2
0
 private void attachState(String text) {
   String countryid = Country.getid(text, this.getApplicationContext());
   Globals.user.setCountryid(countryid);
   country.setTag(countryid);
   state.setAdapter(State.getAdapter(countryid, this));
 }