From 0fde5b1f41433596bd1728502231caea8c59115d Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 25 Oct 2020 22:35:14 +0100 Subject: [PATCH] adding Printing to the event list view --- .../calendar/pro/adapters/EventListAdapter.kt | 21 ++++++++++++++----- .../pro/fragments/EventListFragment.kt | 14 ++++++++++++- 2 files changed, 29 insertions(+), 6 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/adapters/EventListAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/adapters/EventListAdapter.kt index f75132b73..c17d110b1 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/adapters/EventListAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/adapters/EventListAdapter.kt @@ -37,6 +37,7 @@ class EventListAdapter(activity: SimpleActivity, var listItems: ArrayList= now) { + } else if (listEvent.startTS <= now && listEvent.endTS >= now && !isPrintVersion) { startTextColor = primaryColor } @@ -184,8 +195,8 @@ class EventListAdapter(activity: SimpleActivity, var listItems: ArrayList