Scenario : I have 2 spinners with one adapter and global array. When any one select an item from one spinner then that item will delete from global array.Problem is when an item suppose select with 0 index again after deleting that item from global array and another item at acquire position with 0 index . If I will select that 0 index changed item then it will not select other than all items will select. 

So can any one explain or suggest what i want to do in this scenario.

```
     List<String> spinnerArray =  new ArrayList<String>();
HashMap<String, String> index_val = new HashMap<String, String>();
            ArrayAdapter<String> adapter_left;
            spinnerArray.add("None");
                spinnerArray.add("Task");
                spinnerArray.add("Priority");
                spinnerArray.add("Deadline");
                spinnerArray.add("Assigned to");
                spinnerArray.add("Created by");
                spinnerArray.add("Closed by");
                spinnerArray.add("Category");
            ArrayAdapter<String> adapter = new ArrayAdapter<String>(activity, R.layout.spinner_selected_item, noneArray);
                adapter.setDropDownViewResource(R.layout.spinner_dropdown_item);

                adapter_left = new ArrayAdapter<String>(activity, R.layout.spinner_selected_item_left, spinnerArray);

                adapter_left.setDropDownViewResource(R.layout.spinner_dropdown_item);
    task_spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
                @Override
                public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) {

                    if(!index_val.get("1").equalsIgnoreCase("None")){
                        spinnerArray.add(index_val.get("1"));
                    }
                    current_selected_val = adapterView.getItemAtPosition(i).toString();
                    index_val.put("1", current_selected_val);

                    if(!current_selected_val.equalsIgnoreCase("none")) {
                        spinnerArray.remove(spinnerArray.indexOf(current_selected_val));

                    }

                }

                @Override
                public void onNothingSelected(AdapterView<?> adapterView) {

                }

            });

```