From d17408e2c9f15b95c5d5839a1c9bb1aafddc4fd0 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sat, 11 Jul 2020 22:54:29 +0800 Subject: Use SubsamplingScaleImageView and BigImageView to display images in ViewImageOrGifActivity and CommentAndPostRecyclerViewAdapter to avoid app crashing. Create another ViewModel, PostDetailGifAutoplayViewHolder in CommentAndPostRecyclerViewAdapter. --- app/build.gradle | 1 + 1 file changed, 1 insertion(+) (limited to 'app/build.gradle') diff --git a/app/build.gradle b/app/build.gradle index 592a625d..fced4802 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -98,6 +98,7 @@ dependencies { implementation "androidx.startup:startup-runtime:1.0.0-alpha01" //crashy implementation 'com.github.CraZyLegenD:Crashy:1.0.5' + implementation 'com.github.Piasy:BigImageViewer:1.6.5' def toroVersion = '3.7.0.2010003' implementation "im.ene.toro3:toro:$toroVersion" -- cgit v1.2.3