Code example for MultiAutoCompleteTextView

Methods: getTextsetText

0
			@Override 
			public boolean onKey(View v, int keyCode, KeyEvent event) {
				if (event.getAction() == KeyEvent.ACTION_DOWN)
					if ((keyCode == KeyEvent.KEYCODE_DPAD_CENTER) ||
							(keyCode == KeyEvent.KEYCODE_ENTER)) {
						String newItem = editText.getText().toString();
						onNewItemAddedListener.onNewItemAdded(newItem);
						editText.setText("");
						return true; 
					} 
				return false; 
			} 
		}); 
		 
		return view;
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java