diff options
Diffstat (limited to '')
-rw-r--r-- | .idea/caches/build_file_checksums.ser | bin | 533 -> 533 bytes | |||
-rw-r--r-- | .idea/caches/gradle_models.ser | bin | 305910 -> 309041 bytes | |||
-rw-r--r-- | app/build.gradle | 18 | ||||
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser Binary files differindex 93788951..0c225c72 100644 --- a/.idea/caches/build_file_checksums.ser +++ b/.idea/caches/build_file_checksums.ser diff --git a/.idea/caches/gradle_models.ser b/.idea/caches/gradle_models.ser Binary files differindex e6457aaf..8f1fca60 100644 --- a/.idea/caches/gradle_models.ser +++ b/.idea/caches/gradle_models.ser diff --git a/app/build.gradle b/app/build.gradle index 39a97ec9..a62ceb0b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -48,29 +48,29 @@ dependencies { implementation 'androidx.cardview:cardview:1.0.0' implementation 'com.github.bumptech.glide:glide:4.9.0' implementation 'com.github.pwittchen:swipe-rx2:0.3.0' - annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0' + annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0' // Room components implementation "androidx.room:room-runtime:$rootProject.roomVersion" annotationProcessor "androidx.room:room-compiler:$rootProject.roomVersion" // Lifecycle components implementation "androidx.lifecycle:lifecycle-extensions:$rootProject.archLifecycleVersion" annotationProcessor "androidx.lifecycle:lifecycle-common-java8:$rootProject.archLifecycleVersion" - implementation 'io.reactivex.rxjava2:rxandroid:2.1.0' - implementation 'io.reactivex.rxjava2:rxjava:2.2.0' + implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' + implementation 'io.reactivex.rxjava2:rxjava:2.2.12' implementation 'com.squareup.retrofit2:retrofit:2.6.1' implementation 'com.squareup.retrofit2:converter-scalars:2.6.1' implementation 'jp.wasabeef:glide-transformations:4.0.0' - implementation 'com.google.dagger:dagger:2.17' - annotationProcessor 'com.google.dagger:dagger-compiler:2.17' + implementation 'com.google.dagger:dagger:2.24' + annotationProcessor 'com.google.dagger:dagger-compiler:2.24' implementation 'com.jakewharton:butterknife:10.1.0' annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0' implementation 'com.github.santalu:aspect-ratio-imageview:1.0.6' implementation 'androidx.paging:paging-runtime:2.1.0' implementation 'com.lsjwzh:materialloadingprogressbar:0.5.8-RELEASE' - implementation 'io.noties.markwon:core:4.1.0' - implementation 'io.noties.markwon:linkify:4.1.0' - implementation 'io.noties.markwon:ext-strikethrough:4.1.0' - implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.16' + implementation 'io.noties.markwon:core:4.1.1' + implementation 'io.noties.markwon:linkify:4.1.1' + implementation 'io.noties.markwon:ext-strikethrough:4.1.1' + implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.17' implementation 'com.github.Ferfalk:SimpleSearchView:0.1.3' implementation 'org.greenrobot:eventbus:3.1.1' implementation 'com.libRG:customtextview:2.2' diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java index b1f756e8..6ad3638f 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/CommentAndPostRecyclerViewAdapter.java @@ -470,7 +470,7 @@ class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerVie String noPreviewLinkDomain = Uri.parse(mPost.getUrl()).getHost(); ((PostDetailViewHolder) holder).linkTextView.setText(noPreviewLinkDomain); - if(!mPost.getSelfText().equals("")) { + if(mPost.getSelfText() != null && !mPost.getSelfText().equals("")) { ((PostDetailViewHolder) holder).mContentMarkdownView.setVisibility(View.VISIBLE); mMarkwon.setMarkdown(((PostDetailViewHolder) holder).mContentMarkdownView, mPost.getSelfText()); } |