aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2018-12-27 03:29:02 +0000
committerAlex Ning <chineseperson5@gmail.com>2018-12-27 03:29:02 +0000
commit45f67457fa6bf49fdf2648e1dc3a3802beac41b4 (patch)
tree30ecbc7539372376cdc73ccdea44ad214f7ef17b /app/build.gradle
parent60b659e651b4d8e7d9ca26b17ba8990497022ed1 (diff)
downloadinfinity-for-reddit-45f67457fa6bf49fdf2648e1dc3a3802beac41b4.tar
infinity-for-reddit-45f67457fa6bf49fdf2648e1dc3a3802beac41b4.tar.gz
infinity-for-reddit-45f67457fa6bf49fdf2648e1dc3a3802beac41b4.tar.bz2
infinity-for-reddit-45f67457fa6bf49fdf2648e1dc3a3802beac41b4.tar.lz
infinity-for-reddit-45f67457fa6bf49fdf2648e1dc3a3802beac41b4.tar.xz
infinity-for-reddit-45f67457fa6bf49fdf2648e1dc3a3802beac41b4.tar.zst
infinity-for-reddit-45f67457fa6bf49fdf2648e1dc3a3802beac41b4.zip
Use Android Paging Library to load and display best posts. Loading best posts in a specific subreddit is broken. Fixed a bug which is PostViewModel's data becoming null after the app restart. Add notch support for Android Pie.
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 317de2a4..c9d61af9 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -16,6 +16,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
+ compileOptions {
+ sourceCompatibility = '1.8'
+ targetCompatibility = '1.8'
+ }
}
repositories {
@@ -66,4 +70,5 @@ dependencies {
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
implementation 'com.github.santalu:aspect-ratio-imageview:1.0.6'
implementation 'com.felipecsl:gifimageview:2.2.0'
+ implementation "android.arch.paging:runtime:1.0.1"
}