-
Notifications
You must be signed in to change notification settings - Fork 496
CheckIn cards & interaction (EXPOSUREAPP-5410) #2644
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UA reviewed.
Kudos, SonarCloud Quality Gate passed! |
val confirmationEvent = SingleLiveEvent<TraceLocationVerifyResult>() | ||
|
||
val checkins = FAKE_CHECKIN_SOURCE | ||
.map { checkins -> checkins.sortedBy { it.checkInEnd } } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need 2nd level sort order - e.g. checkInStart
- to have a stable sorting for active events?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, by title would make sense, will add in follow up PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Minor comments - also fine to be fixed with upcoming PRs.
Tested on Pixel (Android 10). Also Talkback works nicely IMHO.
This PR aims to add:
The list displays dummy data and the menus/clicks don't do anything yet, this will come in a different PR.
The card for old check-ins currently says
21.01.2021, 18:01 - 18:26
, without theUhr
, I will add this in a different PR after it is clear how we handle check-ins spanning multiple days.