Conversation
|
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
| uiHelpers.setTextOrHide(actionable_empty_view.subtitle, uiState.errorSubtitle) | ||
| uiHelpers.setTextOrHide(actionable_empty_view.button, uiState.errorButtonText) | ||
| actionable_empty_view.button.setOnClickListener { uiState.retryAction.action.invoke() } | ||
| actionable_empty_view.image.setImageResource(uiState.image) |
There was a problem hiding this comment.
I didn't use ImageManager here since it was resizing the image to fullscreen and I didn't want to spent time on it. Any tips are welcome.
There was a problem hiding this comment.
I will be facing a similar issue with using image manager, but haven't given it any thought yet - probably next week.
6fe09cf to
a325c5a
Compare
|
You can test the changes on this Pull Request by downloading the APK here. |
...main/java/org/wordpress/android/ui/activitylog/list/filter/ActivityLogTypeFilterViewModel.kt
Show resolved
Hide resolved
zwarm
left a comment
There was a problem hiding this comment.
All looks good - error pages are shown as expected.
I left one tiny nit-pick, so go ahead and merge after your read it.
👍
# Conflicts: # WordPress/src/main/java/org/wordpress/android/ui/activitylog/list/filter/ActivityLogTypeFilterViewModel.kt
|
Thanks for the review @zwarm! I've fixed the merge conflict and replied to your comment. Let me know which solution you prefer. |
Parent issue #13268
To test:
PR submission checklist:
RELEASE-NOTES.txtif necessary.