List of utility methods to do Spinner Get
int | getIndex(Spinner spinner, long itemID) get Index Cursor spinnerItem = null; long spinnerItemID = -1; int spinnerIndex = -1; for (int i = 0; i < spinner.getCount(); i++) { spinnerItem = (Cursor) spinner.getItemAtPosition(i); spinnerItemID = spinnerItem.getLong(spinnerItem .getColumnIndexOrThrow("_id")); if (spinnerItemID == itemID) { ... |