aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-02-20 14:13:26 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-02-20 14:13:26 +0000
commitc00aaf04b9c93201a6555f9756de33862a70485e (patch)
tree7fc327675683942e5bc3e8ec0113af957e8dc5ae /app/src/main/res
parent0d6296c1a4d3a17cf077eea371d91093d766b6cf (diff)
downloadinfinity-for-reddit-c00aaf04b9c93201a6555f9756de33862a70485e.tar
infinity-for-reddit-c00aaf04b9c93201a6555f9756de33862a70485e.tar.gz
infinity-for-reddit-c00aaf04b9c93201a6555f9756de33862a70485e.tar.bz2
infinity-for-reddit-c00aaf04b9c93201a6555f9756de33862a70485e.tar.lz
infinity-for-reddit-c00aaf04b9c93201a6555f9756de33862a70485e.tar.xz
infinity-for-reddit-c00aaf04b9c93201a6555f9756de33862a70485e.tar.zst
infinity-for-reddit-c00aaf04b9c93201a6555f9756de33862a70485e.zip
Temporarily use the old way to load comments instead of Paging library. Load more parent-level comments once. Loading comments of comments is now working.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_view_post_detail.xml2
-rw-r--r--app/src/main/res/layout/item_comment.xml (renamed from app/src/main/res/layout/item_post_comment.xml)0
-rw-r--r--app/src/main/res/values/strings.xml1
3 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_view_post_detail.xml b/app/src/main/res/layout/activity_view_post_detail.xml
index e32ac9ab..103edf40 100644
--- a/app/src/main/res/layout/activity_view_post_detail.xml
+++ b/app/src/main/res/layout/activity_view_post_detail.xml
@@ -293,7 +293,7 @@
android:textColor="#000000"
android:textSize="18sp" />
- <android.support.v7.widget.RecyclerView
+ <com.multilevelview.MultiLevelRecyclerView
android:id="@+id/recycler_view_view_post_detail"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
diff --git a/app/src/main/res/layout/item_post_comment.xml b/app/src/main/res/layout/item_comment.xml
index 81748bbd..81748bbd 100644
--- a/app/src/main/res/layout/item_post_comment.xml
+++ b/app/src/main/res/layout/item_comment.xml
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index c42202ca..486fd853 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -15,6 +15,7 @@
<string name="load_data_failed">Cannot load posts</string>
<string name="load_comment_failed">Error loading comments</string>
+ <string name="load_more_comment_failed">Error loading more comments</string>
<string name="retry">Retry</string>
<string name="comments">Comments</string>
<string name="no_comments_yet">No comments yet. Write a comment?</string>