super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
final RecipientEditTextView emailRetv =
(RecipientEditTextView) findViewById(R.id.email_retv);
emailRetv.setTokenizer(new Rfc822Tokenizer());
emailRetv.setAdapter(new BaseRecipientAdapter(this));
final RecipientEditTextView phoneRetv =
(RecipientEditTextView) findViewById(R.id.phone_retv);
phoneRetv.setTokenizer(new MultiAutoCompleteTextView.CommaTokenizer());
phoneRetv.setAdapter(
new BaseRecipientAdapter(BaseRecipientAdapter.QUERY_TYPE_PHONE, this));