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)); }