mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
make sure only the proper item is selected at long click
This commit is contained in:
@ -122,6 +122,7 @@ class EventListAdapter(val activity: SimpleActivity, val mItems: List<ListItem>,
|
|||||||
event_item_title.text = item.title
|
event_item_title.text = item.title
|
||||||
event_item_description.text = item.description
|
event_item_description.text = item.description
|
||||||
event_item_start.text = Formatter.getTime(item.startTS)
|
event_item_start.text = Formatter.getTime(item.startTS)
|
||||||
|
toggleItemSelection(itemView, markedItems.contains(pos), pos)
|
||||||
|
|
||||||
if (item.startTS == item.endTS) {
|
if (item.startTS == item.endTS) {
|
||||||
event_item_end.visibility = View.INVISIBLE
|
event_item_end.visibility = View.INVISIBLE
|
||||||
|
Reference in New Issue
Block a user