From cdcd5923fa2d581173badff9346f998605127732 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 28 Sep 2018 09:18:28 +0800 Subject: Fixed a bug which causes the LastItemSynchronizer object in PaginationSynchronizer becomes null when the app is reopened after it was killed. Prepare to use Dagger 2 to manage Retrofit singleton. --- app/build.gradle | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/build.gradle') diff --git a/app/build.gradle b/app/build.gradle index 6286dcd4..13bb3cf8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -60,4 +60,6 @@ dependencies { implementation 'com.squareup.retrofit2:converter-scalars:2.4.0' implementation 'jp.wasabeef:glide-transformations:3.3.0' implementation 'com.muditsen.multilevelrecyclerview:multilevelview:1.0.0' + implementation 'com.google.dagger:dagger:2.17' + annotationProcessor 'com.google.dagger:dagger-compiler:2.17' } -- cgit v1.2.3