Skip to content

Instantly share code, notes, and snippets.

Created March 19, 2019 19:45
What would you like to do?
spinerCategoriaLugar.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) {
String categoria = (String) spinerCategoriaLugar.getSelectedItem();
public void onNothingSelected(AdapterView<?> adapterView) {
// No seleccionaron nada
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment