diff options
author | Andreas Straub <andy@strb.org> | 2015-03-17 15:00:50 +0100 |
---|---|---|
committer | Andreas Straub <andy@strb.org> | 2015-03-18 17:11:50 +0100 |
commit | f76baa5658df9b08c7cdc7b3b85560842cb4d7f9 (patch) | |
tree | 511be66b8cea47b6c52138dc96fb7625b1b00e03 /src/main/res/layout/activity_choose_contact.xml | |
parent | 4aab45533ac8a32be2fe66b266b845aed02acf1b (diff) |
Added multiple select to Choose Contact Activity
When passing the Choose Contact Activity a boolean called "multiple"
set to true, it now allows the user to select multiple contacts. Long
pressing a contact enters multiple selection mode and the selection is
confirmed using a button in the CAB. The Activity returns whether or not
multiple contacts were selected using the same boolean. If multiple
contacts were selected, an array of JID strings called "contacts" is
returned. The Choose Contact Activity now also honors "filter_contacts",
an array of strings containing JIDs that should not be displayed in
the picker.
The invite to conference dialog now uses this feature to enable inviting
multiple contacts at once. Additionally, Invite Contact uses
"filter_contacts" to only display contacts that are not yet
participating in the conversation
Diffstat (limited to 'src/main/res/layout/activity_choose_contact.xml')
0 files changed, 0 insertions, 0 deletions