Skip to content Skip to sidebar Skip to footer

Spinner Within Expandable List View? In The Child Menu

I'm having an issue trying to do this while setting in the childView. this is how i am trying to do now..on clicking on any spinner item i am getting a bad token exception..Unable

Solution 1:

Maybe you need to implement?

public class SpinnerActivity extends Activity implements OnItemSelectedListener {
    ...

    public void onItemSelected(AdapterView<?> parent, View view, 
            int pos, long id) {
        // An item was selected. You can retrieve the selected item using
        // parent.getItemAtPosition(pos)
    }

    public void onNothingSelected(AdapterView<?> parent) {
        // Another interface callback
    }
}

Post a Comment for "Spinner Within Expandable List View? In The Child Menu"