Open MustafaAndroid opened 5 years ago
I Solve the Problem :100: just getID From ModelClass :1st_place_medal: @Override public String getItem(int position) { if (mStrings != null && position > 0) return mStrings.get(position - 1).getId(); else return null; }
Hi Everyone. Please guide me to get the ID of particular Id of Selected Item From Spinner I'm getting selected position of selected item from list not id please resolve my problem From this
I'm doing like this
mSearchableSpinner.setOnItemSelectedListener(new OnItemSelectedListener() { @Override public void onItemSelected(View view, int position, long id) {