From 6e5a0e7ef37ab148123a2fed2e50f84978e1f45a Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sun, 28 Oct 2018 23:18:01 +0800 Subject: Use AspectRatiotImageView instead of ImageView to fully display the preview images of posts and prevent scrolling jump in PostFragment and ViewPostDetailActivity. --- 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 1a73fb07..7a97d6a9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -64,4 +64,5 @@ dependencies { annotationProcessor 'com.google.dagger:dagger-compiler:2.17' implementation 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' + implementation 'com.github.santalu:aspect-ratio-imageview:1.0.6' } -- cgit v1.2.3