I will try to post a more complete answer when I get a minute. First you need to implement Once you get the view, you need to set a listener to check for changes in text
EditText editText = (EditText) findViewById(R.id.edit_text_id);
editText.addTextChangedListener(new TextWatcher() {
@Override
public void onTextChanged(CharSequence s, int start, int before,
int count) {
// TODO use this to set your new string value
editValue = s; // this won't work directly, but it is the idea of what you want to accomplish
}
}
You can then set your adapter accordingly, for example (from above)
if(editValue.equals("something"))
spinnerActions.setAdapter(adapter1);