remove the selected attendee on pressing Dismiss

This commit is contained in:
tibbi 2019-03-15 10:10:00 +01:00
parent 33a63c4e72
commit b26bd7a20e

View File

@ -1195,6 +1195,10 @@ class EventActivity : SimpleActivity() {
autoCompleteView.setText(value)
}
selectedAttendeeDismiss.setOnClickListener {
attendeeHolder.beGone()
}
val adapter = AutoCompleteTextViewAdapter(this, mAvailableContacts)
autoCompleteView.setAdapter(adapter)
autoCompleteView.imeOptions = EditorInfo.IME_ACTION_NEXT