make sure only the proper item is selected at long click

This commit is contained in:
tibbi 2016-12-03 11:14:15 +01:00
parent da9ec4adfa
commit bcad8aafef
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ class EventListAdapter(val activity: SimpleActivity, val mItems: List<ListItem>,
event_item_title.text = item.title
event_item_description.text = item.description
event_item_start.text = Formatter.getTime(item.startTS)
toggleItemSelection(itemView, markedItems.contains(pos), pos)
if (item.startTS == item.endTS) {
event_item_end.visibility = View.INVISIBLE