how to get data through api and set on spinner android code example
Example: get data from spinner android studio
Spinner spinner_house = (Spinner) findViewById(R.id.spinner_house);
String spinner_house_data = spinner_house.getSelectedItem().toString();