-
Notifications
You must be signed in to change notification settings - Fork 498
Certificates screen with loading state (EXPOSUREAPP-11502) #4727
Certificates screen with loading state (EXPOSUREAPP-11502) #4727
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.
UA approved
@@ -117,6 +120,11 @@ class PersonOverviewViewModel @AssistedInject constructor( | |||
expirationNotificationService.showNotificationIfStateChanged(ignoreLastCheck = true) | |||
} | |||
|
|||
sealed class UiState { | |||
object Loading : UiState() | |||
data class Done(val personCertificates: List<PersonCertificatesItem>) : UiState() |
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.
What about calling the UiState Success
instead of Done
?
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.
1 Optional Comment, otherwise LGTM.
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.
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 approved
Kudos, SonarCloud Quality Gate passed! |
Testing
delay(1000L)
on line 40 inPersonOverviewViewModel
Jira Ticket
https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-11502