Use SubsamplingScaleImageView and BigImageView to display images in ViewImageOrGifActivity and CommentAndPostRecyclerViewAdapter to avoid app crashing. Create another ViewModel, PostDetailGifAutoplayViewHolder in CommentAndPostRecyclerViewAdapter.

This commit is contained in:
Alex Ning
2020-07-11 22:54:29 +08:00
parent 98f4da3868
commit d17408e2c9
13 changed files with 1164 additions and 177 deletions

View File

@@ -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"