From 08bfa254bcbb2b9b15f0db3c772664427cbd606a Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 27 Jun 2019 15:17:37 +0800 Subject: Loading more comments in ViewPostDetailActivity is back. Display a progress bar when loading more comments. Display an error view when loading more comments failed. --- .../main/res/layout/item_comment_footer_error.xml | 25 ++++++++++++++++++++++ .../res/layout/item_comment_footer_loading.xml | 14 ++++++++++++ app/src/main/res/layout/item_footer_error.xml | 7 +++--- app/src/main/res/layout/item_footer_loading.xml | 1 - app/src/main/res/values/strings.xml | 1 - 5 files changed, 42 insertions(+), 6 deletions(-) create mode 100644 app/src/main/res/layout/item_comment_footer_error.xml create mode 100644 app/src/main/res/layout/item_comment_footer_loading.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/item_comment_footer_error.xml b/app/src/main/res/layout/item_comment_footer_error.xml new file mode 100644 index 00000000..39195989 --- /dev/null +++ b/app/src/main/res/layout/item_comment_footer_error.xml @@ -0,0 +1,25 @@ + + + + + +