mirror of
https://github.com/etesync/android
synced 2025-01-11 08:10:58 +00:00
Extra icon for tasks in "Select collections" fragment
This commit is contained in:
parent
bc7e58232e
commit
c3f7c1b97e
@ -160,13 +160,16 @@ public class SelectCollectionsAdapter extends BaseAdapter implements ListAdapter
|
||||
}
|
||||
|
||||
// step 2: fill view with content
|
||||
int collectionIcon;
|
||||
switch (viewType) {
|
||||
case TYPE_ADDRESS_BOOKS_ROW:
|
||||
setContent((CheckedTextView)v, R.drawable.addressbook, (ServerInfo.ResourceInfo)getItem(position));
|
||||
break;
|
||||
case TYPE_CALENDARS_ROW:
|
||||
case TYPE_TASK_LISTS_ROW:
|
||||
setContent((CheckedTextView)v, R.drawable.calendar, (ServerInfo.ResourceInfo) getItem(position));
|
||||
break;
|
||||
case TYPE_TASK_LISTS_ROW:
|
||||
setContent((CheckedTextView)v, R.drawable.tasks, (ServerInfo.ResourceInfo) getItem(position));
|
||||
}
|
||||
|
||||
// disable task list selection if there's no local task provider
|
||||
|
Loading…
Reference in New Issue
Block a user