├── .gitignore ├── LICENSE ├── README.md ├── app ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ ├── assets │ │ └── posts.json │ └── java │ │ └── com │ │ └── fredporciuncula │ │ └── daggersimpleway │ │ ├── TestApplication.kt │ │ ├── TestInstrumentationRunner.kt │ │ ├── di │ │ ├── RetrofitTestModule.kt │ │ └── TestComponent.kt │ │ ├── posts │ │ └── BestPostActivityTest.kt │ │ └── test │ │ └── LazyActivityTestRule.kt │ ├── debug │ └── AndroidManifest.xml │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── fredporciuncula │ │ │ └── daggersimpleway │ │ │ ├── DaggerSimpleWayApplication.kt │ │ │ ├── di │ │ │ ├── ApplicationComponent.kt │ │ │ ├── DaggerComponentProvider.kt │ │ │ ├── RetrofitModule.kt │ │ │ └── ViewModelFactory.kt │ │ │ ├── model │ │ │ └── Post.kt │ │ │ ├── posts │ │ │ ├── BestPostActivity.kt │ │ │ ├── BestPostFinder.kt │ │ │ └── BestPostViewModel.kt │ │ │ └── service │ │ │ └── PostsService.kt │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── post_activity.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ ├── java │ └── com │ │ └── fredporciuncula │ │ └── daggersimpleway │ │ ├── model │ │ └── ModelFactory.kt │ │ └── posts │ │ ├── BestPostFinderTest.kt │ │ └── BestPostViewModelTest.kt │ └── resources │ └── mockito-extensions │ └── org.mockito.plugins.MockMaker ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/README.md -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/assets/posts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/androidTest/assets/posts.json -------------------------------------------------------------------------------- /app/src/androidTest/java/com/fredporciuncula/daggersimpleway/TestApplication.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/androidTest/java/com/fredporciuncula/daggersimpleway/TestApplication.kt -------------------------------------------------------------------------------- /app/src/androidTest/java/com/fredporciuncula/daggersimpleway/TestInstrumentationRunner.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/androidTest/java/com/fredporciuncula/daggersimpleway/TestInstrumentationRunner.kt -------------------------------------------------------------------------------- /app/src/androidTest/java/com/fredporciuncula/daggersimpleway/di/RetrofitTestModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/androidTest/java/com/fredporciuncula/daggersimpleway/di/RetrofitTestModule.kt -------------------------------------------------------------------------------- /app/src/androidTest/java/com/fredporciuncula/daggersimpleway/di/TestComponent.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/androidTest/java/com/fredporciuncula/daggersimpleway/di/TestComponent.kt -------------------------------------------------------------------------------- /app/src/androidTest/java/com/fredporciuncula/daggersimpleway/posts/BestPostActivityTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/androidTest/java/com/fredporciuncula/daggersimpleway/posts/BestPostActivityTest.kt -------------------------------------------------------------------------------- /app/src/androidTest/java/com/fredporciuncula/daggersimpleway/test/LazyActivityTestRule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/androidTest/java/com/fredporciuncula/daggersimpleway/test/LazyActivityTestRule.kt -------------------------------------------------------------------------------- /app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/debug/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/com/fredporciuncula/daggersimpleway/DaggerSimpleWayApplication.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/java/com/fredporciuncula/daggersimpleway/DaggerSimpleWayApplication.kt -------------------------------------------------------------------------------- /app/src/main/java/com/fredporciuncula/daggersimpleway/di/ApplicationComponent.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/java/com/fredporciuncula/daggersimpleway/di/ApplicationComponent.kt -------------------------------------------------------------------------------- /app/src/main/java/com/fredporciuncula/daggersimpleway/di/DaggerComponentProvider.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/java/com/fredporciuncula/daggersimpleway/di/DaggerComponentProvider.kt -------------------------------------------------------------------------------- /app/src/main/java/com/fredporciuncula/daggersimpleway/di/RetrofitModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/java/com/fredporciuncula/daggersimpleway/di/RetrofitModule.kt -------------------------------------------------------------------------------- /app/src/main/java/com/fredporciuncula/daggersimpleway/di/ViewModelFactory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/java/com/fredporciuncula/daggersimpleway/di/ViewModelFactory.kt -------------------------------------------------------------------------------- /app/src/main/java/com/fredporciuncula/daggersimpleway/model/Post.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/java/com/fredporciuncula/daggersimpleway/model/Post.kt -------------------------------------------------------------------------------- /app/src/main/java/com/fredporciuncula/daggersimpleway/posts/BestPostActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/java/com/fredporciuncula/daggersimpleway/posts/BestPostActivity.kt -------------------------------------------------------------------------------- /app/src/main/java/com/fredporciuncula/daggersimpleway/posts/BestPostFinder.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/java/com/fredporciuncula/daggersimpleway/posts/BestPostFinder.kt -------------------------------------------------------------------------------- /app/src/main/java/com/fredporciuncula/daggersimpleway/posts/BestPostViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/java/com/fredporciuncula/daggersimpleway/posts/BestPostViewModel.kt -------------------------------------------------------------------------------- /app/src/main/java/com/fredporciuncula/daggersimpleway/service/PostsService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/java/com/fredporciuncula/daggersimpleway/service/PostsService.kt -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/post_activity.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/layout/post_activity.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /app/src/test/java/com/fredporciuncula/daggersimpleway/model/ModelFactory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/test/java/com/fredporciuncula/daggersimpleway/model/ModelFactory.kt -------------------------------------------------------------------------------- /app/src/test/java/com/fredporciuncula/daggersimpleway/posts/BestPostFinderTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/test/java/com/fredporciuncula/daggersimpleway/posts/BestPostFinderTest.kt -------------------------------------------------------------------------------- /app/src/test/java/com/fredporciuncula/daggersimpleway/posts/BestPostViewModelTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/app/src/test/java/com/fredporciuncula/daggersimpleway/posts/BestPostViewModelTest.kt -------------------------------------------------------------------------------- /app/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker: -------------------------------------------------------------------------------- 1 | mock-maker-inline 2 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tfcporciuncula/dagger-simple-way/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | --------------------------------------------------------------------------------