aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2018-10-28 15:18:01 +0000
committerAlex Ning <chineseperson5@gmail.com>2018-10-28 15:18:01 +0000
commit6e5a0e7ef37ab148123a2fed2e50f84978e1f45a (patch)
treef7f65bb2ecf8e0ec7520d8846b003faaa5fa02ef /app/build.gradle
parent66402e661be86823cb11bc544cd0af482c3ec8ad (diff)
downloadinfinity-for-reddit-6e5a0e7ef37ab148123a2fed2e50f84978e1f45a.tar
infinity-for-reddit-6e5a0e7ef37ab148123a2fed2e50f84978e1f45a.tar.gz
infinity-for-reddit-6e5a0e7ef37ab148123a2fed2e50f84978e1f45a.tar.bz2
infinity-for-reddit-6e5a0e7ef37ab148123a2fed2e50f84978e1f45a.tar.lz
infinity-for-reddit-6e5a0e7ef37ab148123a2fed2e50f84978e1f45a.tar.xz
infinity-for-reddit-6e5a0e7ef37ab148123a2fed2e50f84978e1f45a.tar.zst
infinity-for-reddit-6e5a0e7ef37ab148123a2fed2e50f84978e1f45a.zip
Use AspectRatiotImageView instead of ImageView to fully display the preview images of posts and prevent scrolling jump in PostFragment and ViewPostDetailActivity.
Diffstat (limited to '')
-rw-r--r--app/build.gradle1
1 files changed, 1 insertions, 0 deletions
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'
}