├── app ├── .gitignore ├── src │ └── main │ │ ├── res │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ ├── values │ │ │ ├── strings.xml │ │ │ ├── dimens.xml │ │ │ ├── styles.xml │ │ │ └── colors.xml │ │ ├── drawable-hdpi │ │ │ ├── icon_category_food_raster.png │ │ │ ├── icon_category_music_raster.png │ │ │ ├── icon_category_history_raster.png │ │ │ ├── icon_category_science_raster.png │ │ │ ├── icon_category_sports_raster.png │ │ │ ├── icon_category_tvmovies_raster.png │ │ │ ├── icon_category_geography_raster.png │ │ │ ├── icon_category_knowledge_raster.png │ │ │ ├── icon_category_entertainment_raster.png │ │ │ └── icon_category_leaderboard_raster.png │ │ ├── drawable-mdpi │ │ │ ├── icon_category_food_raster.png │ │ │ ├── icon_category_music_raster.png │ │ │ ├── icon_category_history_raster.png │ │ │ ├── icon_category_science_raster.png │ │ │ ├── icon_category_sports_raster.png │ │ │ ├── icon_category_tvmovies_raster.png │ │ │ ├── icon_category_geography_raster.png │ │ │ ├── icon_category_knowledge_raster.png │ │ │ ├── icon_category_entertainment_raster.png │ │ │ └── icon_category_leaderboard_raster.png │ │ ├── drawable-xhdpi │ │ │ ├── image_category_food_raster.png │ │ │ ├── image_category_music_raster.png │ │ │ ├── image_category_sports_raster.png │ │ │ ├── image_category_history_raster.png │ │ │ ├── image_category_science_raster.png │ │ │ ├── image_category_tvmovies_raster.png │ │ │ ├── image_category_geography_raster.png │ │ │ ├── image_category_knowledge_raster.png │ │ │ └── image_category_entertainment_raster.png │ │ ├── drawable-xxhdpi │ │ │ ├── image_category_food_raster.png │ │ │ ├── image_category_music_raster.png │ │ │ ├── image_category_history_raster.png │ │ │ ├── image_category_science_raster.png │ │ │ ├── image_category_sports_raster.png │ │ │ ├── image_category_geography_raster.png │ │ │ ├── image_category_knowledge_raster.png │ │ │ ├── image_category_tvmovies_raster.png │ │ │ └── image_category_entertainment_raster.png │ │ ├── drawable-xxxhdpi │ │ │ ├── image_category_food_raster.png │ │ │ ├── image_category_music_raster.png │ │ │ ├── image_category_sports_raster.png │ │ │ ├── image_category_geography_raster.png │ │ │ ├── image_category_history_raster.png │ │ │ ├── image_category_knowledge_raster.png │ │ │ ├── image_category_science_raster.png │ │ │ ├── image_category_tvmovies_raster.png │ │ │ └── image_category_entertainment_raster.png │ │ ├── values-w820dp │ │ │ └── dimens.xml │ │ ├── drawable │ │ │ ├── icon_category_food.xml │ │ │ ├── icon_category_history.xml │ │ │ ├── icon_category_music.xml │ │ │ ├── icon_category_science.xml │ │ │ ├── icon_category_sports.xml │ │ │ ├── icon_category_geography.xml │ │ │ ├── icon_category_knowledge.xml │ │ │ ├── icon_category_tvmovies.xml │ │ │ ├── icon_category_leaderboard.xml │ │ │ └── icon_category_entertainment.xml │ │ └── layout │ │ │ ├── item_category.xml │ │ │ └── activity_category.xml │ │ ├── java │ │ └── io │ │ │ └── github │ │ │ └── erikjhordanrey │ │ │ └── dagger2 │ │ │ ├── category │ │ │ ├── model │ │ │ │ ├── Callback.java │ │ │ │ ├── Category.java │ │ │ │ └── Categories.java │ │ │ ├── view │ │ │ │ ├── presenter │ │ │ │ │ ├── Presenter.java │ │ │ │ │ └── CategoryPresenter.java │ │ │ │ └── activity │ │ │ │ │ └── CategoryActivity.java │ │ │ └── adapter │ │ │ │ ├── CategoryViewHolder.java │ │ │ │ └── CategoryAdapter.java │ │ │ ├── di │ │ │ ├── ActivityScope.java │ │ │ ├── module │ │ │ │ ├── InteractorsModule.java │ │ │ │ └── CategoryModule.java │ │ │ └── component │ │ │ │ ├── AppComponent.java │ │ │ │ └── CategoryComponent.java │ │ │ ├── common │ │ │ └── BaseActivity.java │ │ │ ├── CategoryApplication.java │ │ │ └── widget │ │ │ └── ResponsiveRecyclerView.java │ │ └── AndroidManifest.xml ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── art └── 2015-12-15.png ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── .travis.yml ├── gradle.properties ├── README.md ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /art/2015-12-15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/art/2015-12-15.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | /local.properties 3 | .DS_Store 4 | /build 5 | /captures 6 | **.iml 7 | /.idea 8 | sdcard 9 | sdcard.lock 10 | libs/ 11 | .idea/ 12 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Topekita 3 | Category 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/icon_category_food_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-hdpi/icon_category_food_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/icon_category_music_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-hdpi/icon_category_music_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/icon_category_food_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-mdpi/icon_category_food_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/icon_category_music_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-mdpi/icon_category_music_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/icon_category_history_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-hdpi/icon_category_history_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/icon_category_science_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-hdpi/icon_category_science_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/icon_category_sports_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-hdpi/icon_category_sports_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/icon_category_tvmovies_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-hdpi/icon_category_tvmovies_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/icon_category_history_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-mdpi/icon_category_history_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/icon_category_science_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-mdpi/icon_category_science_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/icon_category_sports_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-mdpi/icon_category_sports_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/icon_category_tvmovies_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-mdpi/icon_category_tvmovies_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/image_category_food_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xhdpi/image_category_food_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/image_category_music_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xhdpi/image_category_music_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/image_category_sports_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xhdpi/image_category_sports_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/image_category_food_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxhdpi/image_category_food_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/image_category_music_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxhdpi/image_category_music_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/image_category_food_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxxhdpi/image_category_food_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/icon_category_geography_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-hdpi/icon_category_geography_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/icon_category_knowledge_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-hdpi/icon_category_knowledge_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/icon_category_geography_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-mdpi/icon_category_geography_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/icon_category_knowledge_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-mdpi/icon_category_knowledge_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/image_category_history_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xhdpi/image_category_history_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/image_category_science_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xhdpi/image_category_science_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/image_category_tvmovies_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xhdpi/image_category_tvmovies_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/image_category_history_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxhdpi/image_category_history_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/image_category_science_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxhdpi/image_category_science_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/image_category_sports_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxhdpi/image_category_sports_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/image_category_music_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxxhdpi/image_category_music_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/image_category_sports_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxxhdpi/image_category_sports_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/icon_category_entertainment_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-hdpi/icon_category_entertainment_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/icon_category_leaderboard_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-hdpi/icon_category_leaderboard_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/icon_category_entertainment_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-mdpi/icon_category_entertainment_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/icon_category_leaderboard_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-mdpi/icon_category_leaderboard_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/image_category_geography_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xhdpi/image_category_geography_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/image_category_knowledge_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xhdpi/image_category_knowledge_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/image_category_geography_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxhdpi/image_category_geography_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/image_category_knowledge_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxhdpi/image_category_knowledge_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/image_category_tvmovies_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxhdpi/image_category_tvmovies_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/image_category_geography_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxxhdpi/image_category_geography_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/image_category_history_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxxhdpi/image_category_history_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/image_category_knowledge_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxxhdpi/image_category_knowledge_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/image_category_science_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxxhdpi/image_category_science_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/image_category_tvmovies_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxxhdpi/image_category_tvmovies_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/image_category_entertainment_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xhdpi/image_category_entertainment_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/image_category_entertainment_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxhdpi/image_category_entertainment_raster.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/image_category_entertainment_raster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erikjhordan-rey/Dagger2-MVP-Sample/HEAD/app/src/main/res/drawable-xxxhdpi/image_category_entertainment_raster.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Jul 15 14:29:46 CDT 2020 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | 16dp 7 | 8 | 40dp 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: android 2 | dist: trusty 3 | jdk: oraclejdk8 4 | 5 | env: 6 | global: 7 | - ADB_INSTALL_TIMEOUT=8 8 | 9 | android: 10 | components: 11 | - tools 12 | - platform-tools 13 | - build-tools-29.0.2 14 | - android-29 15 | - extra-android-support 16 | - extra-google-google_play_services 17 | - extra-google-m2repository 18 | - extra-android-m2repository 19 | 20 | licenses: 21 | - 'android-sdk-license-.+' 22 | - 'google-gdk-license-.+' 23 | - 'android-sdk-preview-license-.+' 24 | 25 | script: 26 | - ./gradlew assemble 27 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Applications/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_category_food.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_category_history.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_category_music.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_category_science.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_category_sports.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_category_geography.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_category_knowledge.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_category_tvmovies.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_category_leaderboard.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_category_entertainment.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 19 | -------------------------------------------------------------------------------- /app/src/main/java/io/github/erikjhordanrey/dagger2/category/model/Callback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2016 Erik Jhordan Rey. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package io.github.erikjhordanrey.dagger2.category.model; 18 | 19 | import java.util.List; 20 | 21 | public interface Callback { 22 | void onLoadCategories(List categories); 23 | } 24 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 10 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 11 | # When configured, Gradle will run in incubating parallel mode. 12 | # This option should only be used with decoupled projects. More details, visit 13 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 14 | # org.gradle.parallel=true 15 | android.enableJetifier=true 16 | android.useAndroidX=true 17 | -------------------------------------------------------------------------------- /app/src/main/java/io/github/erikjhordanrey/dagger2/di/ActivityScope.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2016 Erik Jhordan Rey. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package io.github.erikjhordanrey.dagger2.di; 18 | 19 | import java.lang.annotation.Retention; 20 | import java.lang.annotation.RetentionPolicy; 21 | import javax.inject.Scope; 22 | 23 | @Scope @Retention(RetentionPolicy.RUNTIME) public @interface ActivityScope { 24 | } 25 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 11 | 12 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | 20 | 21 | 22 |