From f0b149ce82cf11df1f5cf84c7d644e5e670ad0b2 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 9 Jan 2019 10:05:20 +0800 Subject: Use MarkwonView (a markdown library) instead of HtmlTextView to display post content and comments. --- app/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/build.gradle') diff --git a/app/build.gradle b/app/build.gradle index 903953de..43ead6ce 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -59,7 +59,6 @@ dependencies { annotationProcessor "android.arch.lifecycle:compiler:$rootProject.archLifecycleVersion" implementation 'io.reactivex.rxjava2:rxandroid:2.1.0' implementation 'io.reactivex.rxjava2:rxjava:2.2.0' - implementation 'org.sufficientlysecure:html-textview:3.6' implementation 'com.squareup.retrofit2:retrofit:2.4.0' implementation 'com.squareup.retrofit2:converter-scalars:2.4.0' implementation 'jp.wasabeef:glide-transformations:4.0.0' @@ -72,4 +71,7 @@ dependencies { implementation 'com.felipecsl:gifimageview:2.2.0' implementation "android.arch.paging:runtime:1.0.1" implementation "com.lsjwzh:materialloadingprogressbar:0.5.8-RELEASE" + implementation "ru.noties:markwon:2.0.1" + implementation "ru.noties:markwon-syntax-highlight:2.0.1" + implementation "ru.noties:markwon-view:2.0.1" } -- cgit v1.2.3