├── .gitignore ├── LICENSE ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── io │ │ └── github │ │ └── importre │ │ └── popular │ │ └── ApplicationTest.java │ ├── debug │ └── res │ │ └── values │ │ ├── colors.xml │ │ └── strings.xml │ └── main │ ├── AndroidManifest.xml │ ├── kotlin │ └── io │ │ └── github │ │ └── importre │ │ └── popular │ │ ├── BaseActivity.kt │ │ ├── BaseFragment.kt │ │ ├── DetailsActivity.kt │ │ ├── ItemAdapter.kt │ │ ├── MainActivity.kt │ │ ├── MainFragment.kt │ │ └── api │ │ ├── Item.kt │ │ ├── Popular.kt │ │ ├── PopularResult.kt │ │ └── PopularService.kt │ └── res │ ├── drawable-hdpi │ ├── ic_arrow_back_white_24dp.png │ ├── ic_comment_grey_18dp.png │ ├── ic_favorite_grey_18dp.png │ └── ic_refresh_white_24dp.png │ ├── drawable-mdpi │ ├── ic_arrow_back_white_24dp.png │ ├── ic_comment_grey_18dp.png │ ├── ic_favorite_grey_18dp.png │ └── ic_refresh_white_24dp.png │ ├── drawable-xhdpi │ ├── ic_arrow_back_white_24dp.png │ ├── ic_comment_grey_18dp.png │ ├── ic_favorite_grey_18dp.png │ └── ic_refresh_white_24dp.png │ ├── drawable-xxhdpi │ ├── ic_arrow_back_white_24dp.png │ ├── ic_comment_grey_18dp.png │ ├── ic_favorite_grey_18dp.png │ └── ic_refresh_white_24dp.png │ ├── drawable-xxxhdpi │ ├── default_wallpaper.jpg │ ├── ic_arrow_back_white_24dp.png │ ├── ic_comment_grey_18dp.png │ ├── ic_favorite_grey_18dp.png │ └── ic_refresh_white_24dp.png │ ├── layout │ ├── fragment_main.xml │ ├── layout_comment.xml │ ├── layout_item.xml │ └── nav_drawer_header.xml │ ├── menu │ └── menu_main.xml │ ├── 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-land │ ├── config.xml │ └── dimens.xml │ ├── values-sw360dp │ └── dimens.xml │ ├── values-sw600dp │ └── dimens.xml │ ├── values-v21 │ └── styles.xml │ ├── values-w820dp │ ├── config.xml │ └── dimens.xml │ └── values │ ├── attrs.xml │ ├── colors.xml │ ├── config.xml │ ├── dimens.xml │ ├── ids.xml │ ├── strings.xml │ └── styles.xml ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── resources ├── n5.png ├── n5_land.png └── web_hi_res_512.png └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/io/github/importre/popular/ApplicationTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/androidTest/java/io/github/importre/popular/ApplicationTest.java -------------------------------------------------------------------------------- /app/src/debug/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/debug/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/debug/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/debug/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/kotlin/io/github/importre/popular/BaseActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/kotlin/io/github/importre/popular/BaseActivity.kt -------------------------------------------------------------------------------- /app/src/main/kotlin/io/github/importre/popular/BaseFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/kotlin/io/github/importre/popular/BaseFragment.kt -------------------------------------------------------------------------------- /app/src/main/kotlin/io/github/importre/popular/DetailsActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/kotlin/io/github/importre/popular/DetailsActivity.kt -------------------------------------------------------------------------------- /app/src/main/kotlin/io/github/importre/popular/ItemAdapter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/kotlin/io/github/importre/popular/ItemAdapter.kt -------------------------------------------------------------------------------- /app/src/main/kotlin/io/github/importre/popular/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/kotlin/io/github/importre/popular/MainActivity.kt -------------------------------------------------------------------------------- /app/src/main/kotlin/io/github/importre/popular/MainFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/kotlin/io/github/importre/popular/MainFragment.kt -------------------------------------------------------------------------------- /app/src/main/kotlin/io/github/importre/popular/api/Item.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/kotlin/io/github/importre/popular/api/Item.kt -------------------------------------------------------------------------------- /app/src/main/kotlin/io/github/importre/popular/api/Popular.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/kotlin/io/github/importre/popular/api/Popular.kt -------------------------------------------------------------------------------- /app/src/main/kotlin/io/github/importre/popular/api/PopularResult.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/kotlin/io/github/importre/popular/api/PopularResult.kt -------------------------------------------------------------------------------- /app/src/main/kotlin/io/github/importre/popular/api/PopularService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/kotlin/io/github/importre/popular/api/PopularService.kt -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_arrow_back_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-hdpi/ic_arrow_back_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_comment_grey_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-hdpi/ic_comment_grey_18dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_favorite_grey_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-hdpi/ic_favorite_grey_18dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_refresh_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-hdpi/ic_refresh_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_arrow_back_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-mdpi/ic_arrow_back_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_comment_grey_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-mdpi/ic_comment_grey_18dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_favorite_grey_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-mdpi/ic_favorite_grey_18dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_refresh_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-mdpi/ic_refresh_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_arrow_back_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-xhdpi/ic_arrow_back_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_comment_grey_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-xhdpi/ic_comment_grey_18dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_favorite_grey_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-xhdpi/ic_favorite_grey_18dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_refresh_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-xhdpi/ic_refresh_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_arrow_back_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-xxhdpi/ic_arrow_back_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_comment_grey_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-xxhdpi/ic_comment_grey_18dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_favorite_grey_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-xxhdpi/ic_favorite_grey_18dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_refresh_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-xxhdpi/ic_refresh_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/default_wallpaper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-xxxhdpi/default_wallpaper.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/ic_arrow_back_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-xxxhdpi/ic_arrow_back_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/ic_comment_grey_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-xxxhdpi/ic_comment_grey_18dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/ic_favorite_grey_18dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-xxxhdpi/ic_favorite_grey_18dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/ic_refresh_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/drawable-xxxhdpi/ic_refresh_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/layout/fragment_main.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_comment.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/layout/layout_comment.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_item.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/layout/layout_item.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/nav_drawer_header.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/layout/nav_drawer_header.xml -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/menu/menu_main.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/values-land/config.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/values-land/config.xml -------------------------------------------------------------------------------- /app/src/main/res/values-land/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/values-land/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values-sw360dp/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/values-sw360dp/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values-sw600dp/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/values-sw600dp/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/values-v21/styles.xml -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/config.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/values-w820dp/config.xml -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/values-w820dp/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values/attrs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/values/attrs.xml -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/config.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/values/config.xml -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/values/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values/ids.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/values/ids.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/gradlew.bat -------------------------------------------------------------------------------- /resources/n5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/resources/n5.png -------------------------------------------------------------------------------- /resources/n5_land.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/resources/n5_land.png -------------------------------------------------------------------------------- /resources/web_hi_res_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/importre/popular/HEAD/resources/web_hi_res_512.png -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | --------------------------------------------------------------------------------