aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-08-26 05:52:19 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-08-26 05:52:19 +0000
commit5e144c6de94d4fe2233b83b3c804d101ebcbe703 (patch)
tree14273c38afda18eec84b9a135b62247331e207be /app/src/main/res
parent4d4e6165f0e1bcd72c54fa015a9e1112103e9062 (diff)
downloadinfinity-for-reddit-5e144c6de94d4fe2233b83b3c804d101ebcbe703.tar
infinity-for-reddit-5e144c6de94d4fe2233b83b3c804d101ebcbe703.tar.gz
infinity-for-reddit-5e144c6de94d4fe2233b83b3c804d101ebcbe703.tar.bz2
infinity-for-reddit-5e144c6de94d4fe2233b83b3c804d101ebcbe703.tar.lz
infinity-for-reddit-5e144c6de94d4fe2233b83b3c804d101ebcbe703.tar.xz
infinity-for-reddit-5e144c6de94d4fe2233b83b3c804d101ebcbe703.tar.zst
infinity-for-reddit-5e144c6de94d4fe2233b83b3c804d101ebcbe703.zip
Reimplement Markdown display due to update of Markwon library. Fixed RetryLoadingMoreCallback is null in MessageRecyclerViewAdapter.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_comment.xml2
-rw-r--r--app/src/main/res/layout/item_comment.xml2
-rw-r--r--app/src/main/res/layout/item_message.xml2
-rw-r--r--app/src/main/res/layout/item_post_detail.xml2
-rw-r--r--app/src/main/res/layout/item_rule.xml2
5 files changed, 5 insertions, 5 deletions
diff --git a/app/src/main/res/layout/activity_comment.xml b/app/src/main/res/layout/activity_comment.xml
index 76a053bf..494872ce 100644
--- a/app/src/main/res/layout/activity_comment.xml
+++ b/app/src/main/res/layout/activity_comment.xml
@@ -32,7 +32,7 @@
android:orientation="vertical"
android:padding="16dp">
- <ru.noties.markwon.view.MarkwonView
+ <TextView
android:id="@+id/comment_parent_markwon_view_comment_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml
index 53613bc8..a9489d0a 100644
--- a/app/src/main/res/layout/item_comment.xml
+++ b/app/src/main/res/layout/item_comment.xml
@@ -42,7 +42,7 @@
</LinearLayout>
- <CustomView.CustomMarkwonView
+ <TextView
android:id="@+id/comment_markdown_view_item_post_comment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/app/src/main/res/layout/item_message.xml b/app/src/main/res/layout/item_message.xml
index 12fd25c4..9fe9e0d4 100644
--- a/app/src/main/res/layout/item_message.xml
+++ b/app/src/main/res/layout/item_message.xml
@@ -26,7 +26,7 @@
android:layout_marginBottom="8dp"
android:textColor="@color/primaryTextColor" />
- <CustomView.CustomMarkwonView
+ <TextView
android:id="@+id/content_custom_markwon_view_item_message"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
diff --git a/app/src/main/res/layout/item_post_detail.xml b/app/src/main/res/layout/item_post_detail.xml
index a1fc7776..886f169f 100644
--- a/app/src/main/res/layout/item_post_detail.xml
+++ b/app/src/main/res/layout/item_post_detail.xml
@@ -71,7 +71,7 @@
android:textColor="@color/primaryTextColor"
android:textSize="18sp" />
- <CustomView.CustomMarkwonView
+ <TextView
android:id="@+id/content_markdown_view_item_post_detail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/app/src/main/res/layout/item_rule.xml b/app/src/main/res/layout/item_rule.xml
index 1124a548..2c4a845b 100644
--- a/app/src/main/res/layout/item_rule.xml
+++ b/app/src/main/res/layout/item_rule.xml
@@ -11,7 +11,7 @@
android:textColor="@color/primaryTextColor"
android:textSize="16sp" />
- <CustomView.CustomMarkwonView
+ <TextView
android:id="@+id/description_markwon_view_item_rule"
android:layout_width="match_parent"
android:layout_height="wrap_content"