├── .circleci └── config.yml ├── .gitignore ├── .idea ├── codeStyles │ ├── Project.xml │ └── codeStyleConfig.xml ├── compiler.xml ├── gradle.xml ├── jarRepositories.xml ├── misc.xml ├── runConfigurations.xml └── vcs.xml ├── LICENSE ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── masscode │ │ └── animesuta │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── assets │ │ └── emptybox.json │ ├── java │ │ └── com │ │ │ └── masscode │ │ │ └── animesuta │ │ │ ├── MainActivity.kt │ │ │ ├── MyApplication.kt │ │ │ ├── binding │ │ │ ├── ActivityBinding.kt │ │ │ └── BindingAdapters.kt │ │ │ ├── detail │ │ │ ├── DetailAnimeActivity.kt │ │ │ └── DetailAnimeViewModel.kt │ │ │ ├── di │ │ │ └── AppModule.kt │ │ │ └── home │ │ │ ├── HomeFragment.kt │ │ │ └── HomeViewModel.kt │ └── res │ │ ├── drawable-v24 │ │ ├── ic_favorite_white.xml │ │ ├── ic_launcher_foreground.xml │ │ └── ic_not_favorite_white.xml │ │ ├── drawable │ │ ├── ic_arrow_back.xml │ │ ├── ic_favorite_black.xml │ │ ├── ic_home.xml │ │ ├── ic_launcher_background.xml │ │ └── ic_play_arrow.xml │ │ ├── layout │ │ ├── activity_detail_anime.xml │ │ ├── activity_main.xml │ │ ├── app_bar_main.xml │ │ ├── content_detail_anime.xml │ │ ├── content_main.xml │ │ ├── fragment_home.xml │ │ ├── item_list_placeholder.xml │ │ ├── nav_header_main.xml │ │ ├── view_empty.xml │ │ └── view_error.xml │ │ ├── menu │ │ └── drawer_menu.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 │ │ ├── navigation │ │ └── nav_graph.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── masscode │ └── animesuta │ └── ExampleUnitTest.kt ├── build.gradle ├── core ├── .gitignore ├── build.gradle ├── consumer-rules.pro ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── masscode │ │ └── animesuta │ │ └── core │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── masscode │ │ │ └── animesuta │ │ │ └── core │ │ │ ├── binding │ │ │ └── BindingAdapters.kt │ │ │ ├── data │ │ │ ├── AnimeRepository.kt │ │ │ ├── NetworkBoundResource.kt │ │ │ ├── Resource.kt │ │ │ └── source │ │ │ │ ├── local │ │ │ │ ├── LocalDataSource.kt │ │ │ │ ├── entity │ │ │ │ │ └── AnimeEntity.kt │ │ │ │ └── room │ │ │ │ │ ├── AnimeDao.kt │ │ │ │ │ └── AnimeDatabase.kt │ │ │ │ └── remote │ │ │ │ ├── RemoteDataSource.kt │ │ │ │ ├── network │ │ │ │ ├── ApiResponse.kt │ │ │ │ └── ApiService.kt │ │ │ │ └── response │ │ │ │ ├── AnimeResponse.kt │ │ │ │ ├── Attributes.kt │ │ │ │ ├── CoverImage.kt │ │ │ │ ├── ListAnimeResponse.kt │ │ │ │ └── PosterImage.kt │ │ │ ├── di │ │ │ └── CoreModule.kt │ │ │ ├── domain │ │ │ ├── model │ │ │ │ └── Anime.kt │ │ │ ├── repository │ │ │ │ └── IAnimeRepository.kt │ │ │ └── usecase │ │ │ │ ├── AnimeInteractor.kt │ │ │ │ └── AnimeUseCase.kt │ │ │ ├── ui │ │ │ └── AnimeAdapter.kt │ │ │ └── utils │ │ │ ├── AppExecutors.kt │ │ │ └── DataMapper.kt │ └── res │ │ ├── layout │ │ └── item_list_anime.xml │ │ └── values │ │ └── string.xml │ └── test │ └── java │ └── com │ └── masscode │ └── animesuta │ └── core │ └── ExampleUnitTest.kt ├── favorite ├── .gitignore ├── build.gradle └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── masscode │ │ └── animesuta │ │ └── favorite │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── masscode │ │ │ └── animesuta │ │ │ └── favorite │ │ │ ├── FavoriteFragment.kt │ │ │ ├── FavoriteModule.kt │ │ │ └── FavoriteViewModel.kt │ └── res │ │ └── layout │ │ └── fragment_favorite.xml │ └── test │ └── java │ └── com │ └── masscode │ └── animesuta │ └── favorite │ └── ExampleUnitTest.kt ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── images ├── android representation.jpeg ├── app module.PNG ├── clean arch layer.jpeg ├── core module.PNG ├── favorite module.PNG └── test.md ├── settings.gradle └── shared_dependencies.gradle /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2.1 2 | 3 | orbs: 4 | android: circleci/android@0.2.1 5 | 6 | jobs: 7 | build: 8 | executor: android/android 9 | steps: 10 | - checkout 11 | - restore_cache: 12 | key: android-orb-v1- 13 | - run: 14 | name: Chmod permissions 15 | command: sudo chmod +x ./gradlew 16 | - run: 17 | name: Download Dependencies 18 | command: ./gradlew androidDependencies 19 | - save_cache: 20 | key: 'android-orb-v1-{{ epoch }}' 21 | paths: 22 | - ~/.android/build-cache 23 | - ~/.android/cache 24 | - run: 25 | name: Run Build 26 | command: ./gradlew build 27 | - store_artifacts: 28 | path: app/build/reports 29 | destination: reports 30 | - run: 31 | name: Run Tests 32 | command: ./gradlew lint test 33 | - store_test_results: 34 | path: app/build/test-results 35 | - store_artifacts: 36 | path: app/build/outputs/apk/debug/ 37 | destination: artifact-file 38 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 20 | 22 | 23 | 24 | 26 | 27 | 28 |
29 | 30 | 31 | 32 | xmlns:android 33 | 34 | ^$ 35 | 36 | 37 | 38 |
39 |
40 | 41 | 42 | 43 | xmlns:.* 44 | 45 | ^$ 46 | 47 | 48 | BY_NAME 49 | 50 |
51 |
52 | 53 | 54 | 55 | .*:id 56 | 57 | http://schemas.android.com/apk/res/android 58 | 59 | 60 | 61 |
62 |
63 | 64 | 65 | 66 | .*:name 67 | 68 | http://schemas.android.com/apk/res/android 69 | 70 | 71 | 72 |
73 |
74 | 75 | 76 | 77 | name 78 | 79 | ^$ 80 | 81 | 82 | 83 |
84 |
85 | 86 | 87 | 88 | style 89 | 90 | ^$ 91 | 92 | 93 | 94 |
95 |
96 | 97 | 98 | 99 | .* 100 | 101 | ^$ 102 | 103 | 104 | BY_NAME 105 | 106 |
107 |
108 | 109 | 110 | 111 | .* 112 | 113 | http://schemas.android.com/apk/res/android 114 | 115 | 116 | ANDROID_ATTRIBUTE_ORDER 117 | 118 |
119 |
120 | 121 | 122 | 123 | .* 124 | 125 | .* 126 | 127 | 128 | BY_NAME 129 | 130 |
131 |
132 |
133 |
134 | 135 | 137 |
138 |
-------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 24 | 25 | -------------------------------------------------------------------------------- /.idea/jarRepositories.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 14 | 15 | 19 | 20 | 24 | 25 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright 2020 Agus Tiyansyah Syam 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Android Clean Architecture 2 | [![agustiyann](https://circleci.com/gh/agustiyann/Android-Clean-Architecture.svg?style=svg)](https://circleci.com/gh/agustiyann/Android-Clean-Architecture) 3 | ![GitHub](https://img.shields.io/github/license/agustiyann/Android-Clean-Architecture?color=blue) 4 | ![GitHub last commit](https://img.shields.io/github/last-commit/agustiyann/Android-Clean-Architecture?color=informational) 5 | 6 | ## What is Clean Architecture? 7 | Clean Architecture is a software engineering development architecture created by Uncle Bob (**Robert C. Martin**). The essence of this architecture is separation of concern. So that we can read the code in the project more easily. 8 | 9 | In addition, the main idea of ​​using Clean Architecture is to produce a system that is **Independent of Framework**, **Testable**, **Independent of UI**, **Independent of Database**, and **Independent of External**. 10 | This is an overview to represent Clean Architecture suggested by Robert C. Martin: 11 | 12 | 13 | ## Use this pattern in an Android project 14 | In a typical android project it is divided into 3 layers like this: 15 | 16 | 17 | - **Presentation Layer** contains the UI and Presenter / ViewModel which will control the views. This UI will depend heavily on the Use Case. 18 | - **Domain Layer** contains Entities, Use Case, Repository Interface. This is the most core layer and is associated with business processes. 19 | - **Data Layer** contains Repository Implementation and DataSource which can be Local DataSource (database) and Remote DataSource (network). 20 | 21 | ## Modularization 22 | Modularization is a technique of breaking an Android project into sections called modules. With modularization we will get a lot of advantages over implementing the monolith (only one part) in our project. 23 | 24 | 25 | 26 | 27 | 28 | 29 | ## Tech stack & Open-source libraries 30 | 31 | - [Kotlin](https://kotlinlang.org/) based, [Coroutines](https://github.com/Kotlin/kotlinx.coroutines) + [Flow](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/) for asynchronous. 32 | - [Koin](https://insert-koin.io) for dependency injection. 33 | - Jetpack Libraries 34 | - [LiveData](https://developer.android.com/topic/libraries/architecture/livedata) - notify domain layer data to views. 35 | - [ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel) - UI related data holder, lifecycle aware. 36 | - [Room Persistence](https://developer.android.com/topic/libraries/architecture/room) - construct a database using the abstract layer. 37 | - Architecture 38 | - MVVM Architecture (View - DataBinding - ViewModel - Model) 39 | - Repository pattern 40 | - [Glide](https://github.com/bumptech/glide) - loading images. 41 | - [Retrofit2 & OkHttp3](https://github.com/square/retrofit) - construct the REST APIs and paging network data. 42 | - [Gson](https://github.com/google/gson) - JSON representation. 43 | - [Timber](https://github.com/JakeWharton/timber) - logging. 44 | - [Material-Components](https://github.com/material-components/material-components-android) - Material design components. 45 | - [Leak Canary](https://square.github.io/leakcanary/) - memory leak detection library for Android. 46 | - Security 47 | - [SQLCipher](https://www.zetetic.net/sqlcipher/) - protecting data. 48 | - ProGuard - disguise the code so that it is difficult to read by others after reverse engineering. 49 | - Certificate Pinning - secure connection from mobile to server. 50 | - [Lottie](https://lottiefiles.com/) - displays animation in JSON format. 51 | - [Shimmer](https://facebook.github.io/shimmer-android/) - create a shimmer effect on the application. 52 | 53 | ## License 54 | ``` 55 | Copyright 2020 Agus Tiyansyah Syam 56 | 57 | Licensed under the Apache License, Version 2.0 (the "License"); 58 | you may not use this file except in compliance with the License. 59 | You may obtain a copy of the License at 60 | 61 | http://www.apache.org/licenses/LICENSE-2.0 62 | 63 | Unless required by applicable law or agreed to in writing, software 64 | distributed under the License is distributed on an "AS IS" BASIS, 65 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 66 | See the License for the specific language governing permissions and 67 | limitations under the License. 68 | ``` 69 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | apply plugin: 'kotlin-android' 3 | apply plugin: 'kotlin-android-extensions' 4 | apply plugin: "kotlin-kapt" 5 | apply plugin: "androidx.navigation.safeargs.kotlin" 6 | apply from: '../shared_dependencies.gradle' 7 | 8 | android { 9 | compileSdkVersion 30 10 | buildToolsVersion "30.0.2" 11 | 12 | defaultConfig { 13 | applicationId "com.masscode.animesuta" 14 | multiDexEnabled true 15 | minSdkVersion 16 16 | targetSdkVersion 30 17 | versionCode 1 18 | versionName "1.0" 19 | 20 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 21 | } 22 | 23 | buildTypes { 24 | release { 25 | minifyEnabled true 26 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 27 | } 28 | debug { 29 | minifyEnabled true 30 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 31 | } 32 | } 33 | 34 | dataBinding { 35 | enabled = true 36 | } 37 | 38 | compileOptions { 39 | sourceCompatibility JavaVersion.VERSION_1_8 40 | targetCompatibility JavaVersion.VERSION_1_8 41 | } 42 | 43 | kotlinOptions { 44 | jvmTarget = "1.8" 45 | } 46 | dynamicFeatures = [':favorite'] 47 | } 48 | 49 | dependencies { 50 | implementation project(":core") 51 | implementation fileTree(dir: "libs", include: ["*.jar"]) 52 | implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" 53 | // navigation component 54 | api "androidx.navigation:navigation-fragment-ktx:$nav_version" 55 | api "androidx.navigation:navigation-ui-ktx:$nav_version" 56 | api "androidx.navigation:navigation-dynamic-features-fragment:$nav_version" 57 | 58 | // debugImplementation because LeakCanary should only run in debug builds. 59 | debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.4' 60 | } -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /app/src/androidTest/java/com/masscode/animesuta/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- 1 | package com.masscode.animesuta 2 | 3 | import androidx.test.platform.app.InstrumentationRegistry 4 | import androidx.test.ext.junit.runners.AndroidJUnit4 5 | 6 | import org.junit.Test 7 | import org.junit.runner.RunWith 8 | 9 | import org.junit.Assert.* 10 | 11 | /** 12 | * Instrumented test, which will execute on an Android device. 13 | * 14 | * See [testing documentation](http://d.android.com/tools/testing). 15 | */ 16 | @RunWith(AndroidJUnit4::class) 17 | class ExampleInstrumentedTest { 18 | @Test 19 | fun useAppContext() { 20 | // Context of the app under test. 21 | val appContext = InstrumentationRegistry.getInstrumentation().targetContext 22 | assertEquals("com.masscode.animesuta", appContext.packageName) 23 | } 24 | } -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /app/src/main/assets/emptybox.json: -------------------------------------------------------------------------------- 1 | {"v":"5.4.2","fr":60,"ip":0,"op":90,"w":620,"h":690,"nm":"Pre-comp 2","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"bottom_right 3","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[100]},{"t":15}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":0,"s":[211.343,208.143,0],"e":[211.343,428.143,0],"to":[0,36.6666679382324,0],"ti":[0,-30,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":15,"s":[211.343,428.143,0],"e":[211.343,388.143,0],"to":[0,30,0],"ti":[0,6.66666650772095,0]},{"t":19}],"ix":2},"a":{"a":0,"k":[97.496,-65.355,0],"ix":1},"s":{"a":0,"k":[117.486,89.612,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":15,"s":[{"i":[[0.25,0.643],[9.638,27.694],[-0.545,1.799],[-2.253,0.087],[-49.028,-1.083],[-2.41,-2.312],[-1.521,-3.891],[-8.485,-26.666],[1.229,0.008],[53.092,-0.118]],"o":[[-10.659,-27.407],[-0.62,-1.781],[0.577,-1.904],[48.997,-1.881],[3.579,0.079],[3.17,3.04],[10.237,26.193],[0.329,1.034],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-14.216,-147.833],[-15.21,-153.348],[-11.12,-158.055],[136.006,-159.153],[145.395,-154.598],[152.084,-143.734],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[0.424,0.569],[15.558,22.754],[-0.549,0.524],[-1.831,0.039],[-48.815,-0.529],[-2.518,-1.52],[-1.695,-2.278],[-14.928,-21.952],[1.229,0.008],[53.092,-0.118]],"o":[[-16.558,-22.209],[-0.417,-0.61],[1.236,-1.18],[48.804,-1.038],[3.061,0.033],[2.559,1.544],[15.934,21.406],[0.628,0.923],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-32.223,-132.662],[-32.193,-134.793],[-27.451,-137.218],[119.002,-138.009],[127.738,-135.536],[133.603,-129.197],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":17,"s":[{"i":[[0.424,0.569],[15.558,22.754],[-0.549,0.524],[-1.831,0.039],[-48.815,-0.529],[-2.518,-1.52],[-1.695,-2.278],[-14.928,-21.952],[1.229,0.008],[53.092,-0.118]],"o":[[-16.558,-22.209],[-0.417,-0.61],[1.236,-1.18],[48.804,-1.038],[3.061,0.033],[2.559,1.544],[15.934,21.406],[0.628,0.923],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-32.223,-132.662],[-32.193,-134.793],[-27.451,-137.218],[119.002,-138.009],[127.738,-135.536],[133.603,-129.197],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[0.755,0.163],[22.491,4.893],[-0.583,-0.1],[-1.798,0.007],[-48.594,0.029],[-2.65,-0.445],[-1.767,-0.37],[-22.306,-4.387],[1.229,0.008],[53.092,-0.118]],"o":[[-22.5,-4.861],[-0.577,-0.125],[1.764,0.304],[48.593,-0.202],[2.699,-0.002],[1.785,0.3],[22.233,4.66],[1.199,0.236],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-51.645,-80.621],[-50.591,-79.366],[-45.198,-79.511],[100.583,-79.994],[108.666,-79.602],[113.707,-77.789],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":19,"s":[{"i":[[0.755,0.163],[22.491,4.893],[-0.583,-0.1],[-1.798,0.007],[-48.594,0.029],[-2.65,-0.445],[-1.767,-0.37],[-22.306,-4.387],[1.229,0.008],[53.092,-0.118]],"o":[[-22.5,-4.861],[-0.577,-0.125],[1.764,0.304],[48.593,-0.202],[2.699,-0.002],[1.785,0.3],[22.233,4.66],[1.199,0.236],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-51.645,-80.621],[-50.591,-79.366],[-45.198,-79.511],[100.583,-79.994],[108.666,-79.602],[113.707,-77.789],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[0.247,-0.644],[6.169,-21.714],[-1.621,-1.738],[-2.463,-0.053],[-48.247,0.874],[-2.012,1.421],[-0.72,1.893],[-6.492,22.149],[1.229,0.008],[53.092,-0.118]],"o":[[-8.129,21.216],[-0.618,2.176],[1.556,1.668],[48.242,1.039],[2.587,-0.047],[1.776,-1.254],[8.252,-21.697],[0.305,-1.04],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-7.072,-0.833],[-4.48,5.499],[1.889,8.776],[146.661,8.755],[153.766,6.024],[157.571,1.048],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":24,"s":[{"i":[[0.247,-0.644],[6.169,-21.714],[-1.621,-1.738],[-2.463,-0.053],[-48.247,0.874],[-2.012,1.421],[-0.72,1.893],[-6.492,22.149],[1.229,0.008],[53.092,-0.118]],"o":[[-8.129,21.216],[-0.618,2.176],[1.556,1.668],[48.242,1.039],[2.587,-0.047],[1.776,-1.254],[8.252,-21.697],[0.305,-1.04],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-7.072,-0.833],[-4.48,5.499],[1.889,8.776],[146.661,8.755],[153.766,6.024],[157.571,1.048],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[0.209,-0.654],[5.451,-24.026],[-1.771,-2.15],[-2.692,-0.074],[-48.163,1.073],[-1.776,1.712],[-0.734,2.328],[-5.933,24.38],[1.229,0.008],[53.092,-0.118]],"o":[[-7.558,23.588],[-0.59,2.598],[1.573,1.909],[48.155,1.326],[2.644,-0.059],[1.856,-1.789],[7.579,-24.03],[0.256,-1.05],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-5.266,6.219],[-2.315,13.736],[4.282,17.811],[148.818,17.898],[155.694,14.438],[159.211,7.879],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":26,"s":[{"i":[[0.209,-0.654],[5.451,-24.026],[-1.771,-2.15],[-2.692,-0.074],[-48.163,1.073],[-1.776,1.712],[-0.734,2.328],[-5.933,24.38],[1.229,0.008],[53.092,-0.118]],"o":[[-7.558,23.588],[-0.59,2.598],[1.573,1.909],[48.155,1.326],[2.644,-0.059],[1.856,-1.789],[7.579,-24.03],[0.256,-1.05],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-5.266,6.219],[-2.315,13.736],[4.282,17.811],[148.818,17.898],[155.694,14.438],[159.211,7.879],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[-0.148,-0.667],[-8.331,-32.489],[-1.771,-2.15],[-2.692,-0.074],[-48.163,1.073],[-1.776,1.712],[0.45,2.382],[8.874,32.748],[1.229,0.008],[53.092,-0.118]],"o":[[7.251,32.686],[0.663,2.585],[1.573,1.909],[48.155,1.326],[2.644,-0.059],[1.856,-1.789],[-6.275,-33.203],[-0.283,-1.045],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[39.561,32.675],[42.512,40.192],[49.109,44.267],[193.645,44.354],[200.521,40.894],[204.038,34.335],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"t":29}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.97565870098,0.623621323529,0.104366167854,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[13.186,-121.197],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[91.803,91.525],"ix":3},"r":{"a":0,"k":36.852,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":90,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"bottom_right 2","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[100]},{"t":15}],"ix":11},"r":{"a":0,"k":149.892,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":0,"s":[239.343,81.393,0],"e":[239.343,301.393,0],"to":[0,36.6666679382324,0],"ti":[0,-30,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":15,"s":[239.343,301.393,0],"e":[239.343,261.393,0],"to":[0,30,0],"ti":[0,6.66666650772095,0]},{"t":19}],"ix":2},"a":{"a":0,"k":[97.496,-65.355,0],"ix":1},"s":{"a":0,"k":[98.474,89.612,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":15,"s":[{"i":[[0.669,0.345],[13.132,7.662],[2.349,2.068],[-2.927,0.191],[-50.571,-0.547],[-6.093,-2.696],[-4.316,-2.999],[-10.975,-8.181],[1.229,0.008],[53.092,-0.118]],"o":[[-13.598,-7.014],[-2.773,-1.618],[-2.067,-1.82],[50.434,-3.288],[6.83,0.074],[4.92,2.177],[11.291,7.846],[0.935,0.697],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-24.326,-87.334],[-32.133,-92.799],[-37.475,-98.911],[114.198,-102.339],[133.777,-97.06],[146.651,-87.982],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[0.747,0.188],[12.353,3.718],[3.201,1.325],[-2.289,0.161],[-51.584,1.049],[-5.74,-1.85],[-5.003,-2.301],[-10.051,-5.077],[1.229,0.008],[53.092,-0.118]],"o":[[-12.557,-3.155],[-3.35,-1.008],[-2.075,-0.859],[51.43,-3.628],[6.117,-0.124],[5.305,1.71],[10.274,4.724],[1.064,0.537],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-21.74,-75.551],[-31.537,-79.151],[-37.545,-82.094],[117.008,-89.63],[134.773,-85.599],[149.964,-79.007],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":16,"s":[{"i":[[0.747,0.188],[12.353,3.718],[3.201,1.325],[-2.289,0.161],[-51.584,1.049],[-5.74,-1.85],[-5.003,-2.301],[-10.051,-5.077],[1.229,0.008],[53.092,-0.118]],"o":[[-12.557,-3.155],[-3.35,-1.008],[-2.075,-0.859],[51.43,-3.628],[6.117,-0.124],[5.305,1.71],[10.274,4.724],[1.064,0.537],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-21.74,-75.551],[-31.537,-79.151],[-37.545,-82.094],[117.008,-89.63],[134.773,-85.599],[149.964,-79.007],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[0.707,-0.283],[9.564,-3.731],[1.953,-1.212],[-3.397,-0.096],[-49.861,1.406],[-5.083,1.281],[-6.291,2.258],[-7.299,3.525],[1.229,0.008],[53.092,-0.118]],"o":[[-9.521,3.814],[-2.188,0.853],[-2.77,1.719],[49.86,1.408],[5.288,-0.149],[6.535,-1.647],[7.715,-2.769],[1.076,-0.519],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-12.916,-53.343],[-19.686,-51.237],[-26.711,-44.785],[122.922,-47.209],[138.586,-49.446],[157.584,-55.946],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":17,"s":[{"i":[[0.707,-0.283],[9.564,-3.731],[1.953,-1.212],[-3.397,-0.096],[-49.861,1.406],[-5.083,1.281],[-6.291,2.258],[-7.299,3.525],[1.229,0.008],[53.092,-0.118]],"o":[[-9.521,3.814],[-2.188,0.853],[-2.77,1.719],[49.86,1.408],[5.288,-0.149],[6.535,-1.647],[7.715,-2.769],[1.076,-0.519],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-12.916,-53.343],[-19.686,-51.237],[-26.711,-44.785],[122.922,-47.209],[138.586,-49.446],[157.584,-55.946],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[0.289,-0.63],[10.587,-24.925],[0.029,-1.947],[-2.074,-0.06],[-50.642,0.949],[-2.605,1.76],[-1.445,3.288],[-8.597,24.745],[1.229,0.008],[53.092,-0.118]],"o":[[-11.328,24.675],[-0.776,1.826],[-0.027,1.812],[50.625,1.473],[3.293,-0.062],[3.19,-2.155],[10.612,-24.141],[0.357,-1.027],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-16.787,9.609],[-18.533,15.249],[-16.949,20.506],[135.009,19.717],[144.552,17.48],[151.303,8.711],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":18,"s":[{"i":[[0.289,-0.63],[10.587,-24.925],[0.029,-1.947],[-2.074,-0.06],[-50.642,0.949],[-2.605,1.76],[-1.445,3.288],[-8.597,24.745],[1.229,0.008],[53.092,-0.118]],"o":[[-11.328,24.675],[-0.776,1.826],[-0.027,1.812],[50.625,1.473],[3.293,-0.062],[3.19,-2.155],[10.612,-24.141],[0.357,-1.027],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-16.787,9.609],[-18.533,15.249],[-16.949,20.506],[135.009,19.717],[144.552,17.48],[151.303,8.711],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[0.015,-0.679],[-0.933,-32.194],[-1.771,-2.15],[-2.692,-0.074],[-48.163,1.073],[-1.776,1.712],[-0.093,2.413],[1.011,32.595],[1.229,0.008],[53.092,-0.118]],"o":[[-0.71,32.199],[0.077,2.648],[1.573,1.909],[48.155,1.326],[2.644,-0.059],[1.856,-1.789],[1.258,-32.589],[-0.033,-1.073],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[15.61,31.635],[18.561,39.152],[25.158,43.227],[169.694,43.314],[176.57,39.854],[180.087,33.295],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":22,"s":[{"i":[[0.015,-0.679],[-0.933,-32.194],[-1.771,-2.15],[-2.692,-0.074],[-48.163,1.073],[-1.776,1.712],[-0.093,2.413],[1.011,32.595],[1.229,0.008],[53.092,-0.118]],"o":[[-0.71,32.199],[0.077,2.648],[1.573,1.909],[48.155,1.326],[2.644,-0.059],[1.856,-1.789],[1.258,-32.589],[-0.033,-1.073],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[15.61,31.635],[18.561,39.152],[25.158,43.227],[169.694,43.314],[176.57,39.854],[180.087,33.295],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[-0.367,-0.599],[-12.262,-18.403],[-2.375,-2.331],[-2.692,-0.074],[-48.163,1.073],[-1.429,1.944],[1.167,2.11],[12.725,18.474],[1.229,0.008],[53.092,-0.118]],"o":[[11.502,18.773],[1.797,2.697],[1.79,1.757],[48.155,1.326],[2.644,-0.059],[1.45,-1.972],[-10.733,-19.414],[-0.634,-0.92],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[52.062,-9.636],[57.718,-1.684],[64.315,2.39],[208.851,2.477],[215.727,-0.983],[216.538,-7.976],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":27,"s":[{"i":[[-0.367,-0.599],[-12.262,-18.403],[-2.375,-2.331],[-2.692,-0.074],[-48.163,1.073],[-1.429,1.944],[1.167,2.11],[12.725,18.474],[1.229,0.008],[53.092,-0.118]],"o":[[11.502,18.773],[1.797,2.697],[1.79,1.757],[48.155,1.326],[2.644,-0.059],[1.45,-1.972],[-10.733,-19.414],[-0.634,-0.92],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[52.062,-9.636],[57.718,-1.684],[64.315,2.39],[208.851,2.477],[215.727,-0.983],[216.538,-7.976],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[-0.773,-0.069],[-19.217,-1.218],[-4.041,-0.075],[-3.068,0.066],[-48.612,1.57],[-0.169,0.371],[0.533,-0.005],[20.288,-0.298],[1.229,0.008],[53.092,-0.118]],"o":[[19.169,1.705],[4.031,0.255],[3.068,0.057],[48.631,-1.041],[0.457,-0.015],[0.197,-0.433],[-20.29,0.171],[-1.229,0.018],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[73.139,-60.703],[85.264,-60.561],[94.465,-60.309],[240.345,-63.881],[240.721,-65.033],[241.436,-66.283],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":29,"s":[{"i":[[-0.773,-0.069],[-19.217,-1.218],[-4.041,-0.075],[-3.068,0.066],[-48.612,1.57],[-0.169,0.371],[0.533,-0.005],[20.288,-0.298],[1.229,0.008],[53.092,-0.118]],"o":[[19.169,1.705],[4.031,0.255],[3.068,0.057],[48.631,-1.041],[0.457,-0.015],[0.197,-0.433],[-20.29,0.171],[-1.229,0.018],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[73.139,-60.703],[85.264,-60.561],[94.465,-60.309],[240.345,-63.881],[240.721,-65.033],[241.436,-66.283],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[-0.777,-0.032],[-19.66,-0.5],[-4.041,-0.075],[-3.069,0.014],[-48.162,0.703],[-0.169,0.371],[0.533,-0.005],[20.288,-0.298],[1.229,0.008],[53.092,-0.118]],"o":[[19.646,0.801],[4.04,0.103],[3.068,0.057],[48.168,-0.223],[0.457,-0.007],[0.197,-0.433],[-20.29,0.171],[-1.229,0.018],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[74.516,-63.312],[86.641,-63.171],[95.842,-62.919],[240.345,-63.881],[240.721,-65.033],[241.436,-66.283],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"t":30}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.903937006932,0.576676013423,0.093966001623,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":90,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"bottom_right","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[100]},{"t":15}],"ix":11},"r":{"a":0,"k":-210.358,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":0,"s":[380.355,161.774,0],"e":[380.355,381.774,0],"to":[0,36.6666679382324,0],"ti":[0,-30,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":15,"s":[380.355,381.774,0],"e":[380.355,341.774,0],"to":[0,30,0],"ti":[0,6.66666650772095,0]},{"t":19}],"ix":2},"a":{"a":0,"k":[97.496,-65.355,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"n":["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],"t":15,"s":[98.088,89.612,100],"e":[98.088,-94.196,100]},{"t":29}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":15,"s":[{"i":[[-0.109,-0.76],[-5.613,-30.321],[-1.711,-2.078],[-2.584,-0.071],[-48.167,1.073],[-1.847,1.781],[0.28,2.465],[6.015,30.617],[1.22,0.008],[53.092,-0.118]],"o":[[4.359,30.527],[0.49,2.647],[1.643,1.995],[48.16,1.326],[2.565,-0.057],[1.786,-1.722],[-3.518,-31.003],[-0.235,-1.197],[-53.09,-0.359],[-0.768,0.002]],"v":[[15.543,-64.979],[30.873,26.25],[33.824,33.768],[40.421,37.842],[184.957,37.929],[191.833,34.469],[195.35,27.91],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[0.518,-0.567],[23.77,-30.027],[-1.711,-2.078],[-2.584,-0.071],[-48.167,1.073],[-1.847,1.781],[-1.623,1.876],[-24.922,29.639],[1.22,0.008],[53.092,-0.118]],"o":[[-25.845,28.261],[-1.671,2.111],[1.643,1.995],[48.16,1.326],[2.565,-0.057],[1.786,-1.722],[25.334,-29.288],[0.785,-0.934],[-53.09,-0.359],[-0.768,0.002]],"v":[[15.543,-64.979],[-61.106,20.603],[-58.155,28.121],[-51.559,32.196],[92.977,32.283],[99.854,28.823],[103.37,22.263],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":19,"s":[{"i":[[0.518,-0.567],[23.77,-30.027],[-1.711,-2.078],[-2.584,-0.071],[-48.167,1.073],[-1.847,1.781],[-1.623,1.876],[-24.922,29.639],[1.22,0.008],[53.092,-0.118]],"o":[[-25.845,28.261],[-1.671,2.111],[1.643,1.995],[48.16,1.326],[2.565,-0.057],[1.786,-1.722],[25.334,-29.288],[0.785,-0.934],[-53.09,-0.359],[-0.768,0.002]],"v":[[15.543,-64.979],[-61.106,20.603],[-58.155,28.121],[-51.559,32.196],[92.977,32.283],[99.854,28.823],[103.37,22.263],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[0.277,-0.716],[14.523,-44.035],[-1.711,-2.078],[-2.584,-0.071],[-48.167,1.073],[-1.847,1.781],[-0.882,2.319],[-15.196,44.277],[1.22,0.008],[53.092,-0.118]],"o":[[-16.715,43.25],[-0.843,2.556],[1.643,1.995],[48.16,1.326],[2.565,-0.057],[1.786,-1.722],[16.636,-43.756],[0.396,-1.154],[-53.09,-0.359],[-0.768,0.002]],"v":[[15.543,-64.979],[-32.893,65.419],[-29.942,72.936],[-23.345,77.011],[121.191,77.098],[128.067,73.638],[131.584,67.079],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":25,"s":[{"i":[[0.277,-0.716],[14.523,-44.035],[-1.711,-2.078],[-2.584,-0.071],[-48.167,1.073],[-1.847,1.781],[-0.882,2.319],[-15.196,44.277],[1.22,0.008],[53.092,-0.118]],"o":[[-16.715,43.25],[-0.843,2.556],[1.643,1.995],[48.16,1.326],[2.565,-0.057],[1.786,-1.722],[16.636,-43.756],[0.396,-1.154],[-53.09,-0.359],[-0.768,0.002]],"v":[[15.543,-64.979],[-32.893,65.419],[-29.942,72.936],[-23.345,77.011],[121.191,77.098],[128.067,73.638],[131.584,67.079],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[0.037,-0.767],[-0.173,-31.248],[-1.711,-2.078],[-2.584,-0.071],[-48.167,1.073],[-1.847,1.781],[-0.158,2.476],[0.199,31.655],[1.22,0.008],[53.092,-0.118]],"o":[[-1.522,31.211],[0.015,2.692],[1.643,1.995],[48.16,1.326],[2.565,-0.057],[1.786,-1.722],[2.019,-31.591],[-0.008,-1.22],[-53.09,-0.359],[-0.768,0.002]],"v":[[15.543,-64.979],[13.154,28.735],[16.104,36.252],[22.701,40.327],[167.237,40.414],[174.113,36.954],[177.63,30.395],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"t":29}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.90588241278,0.576470588235,0.094117654539,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,-0.107],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":90,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"box","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[100]},{"t":15}],"ix":11},"r":{"a":0,"k":-0.138,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":0,"s":[310,220,0],"e":[310,440,0],"to":[0,36.6666679382324,0],"ti":[0,-30,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":15,"s":[310,440,0],"e":[310,400,0],"to":[0,30,0],"ti":[0,6.66666650772095,0]},{"t":19}],"ix":2},"a":{"a":0,"k":[114.5,111.5,0],"ix":1},"s":{"a":0,"k":[210,210,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.676,1.529],[0,0],[0,1.437],[0,0],[-2.676,-1.53],[0,0],[0,-1.436],[0,0]],"o":[[0,0],[-1.249,-0.714],[0,0],[0,-3.077],[0,0],[1.249,0.714],[0,0],[0,3.078]],"v":[[7.814,14.89],[-11.803,3.682],[-13.822,0.205],[-13.822,-11.413],[-7.814,-14.889],[11.802,-3.68],[13.822,-0.204],[13.822,11.413]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.995999983245,0.995999983245,0.995999983245,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[67.059,135.614],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.16,1.318],[0,0],[-0.504,0.292],[-4.258,2.805],[0.212,0.123],[12.284,6.925]],"o":[[0,0],[0.456,-0.01],[17.4,-10.058],[-0.172,-0.191],[-6.276,-3.627],[-2.13,-1.2]],"v":[[-33.579,-39.177],[-33.4,37.332],[-32.002,36.86],[33.4,-1.005],[32.879,-1.57],[-26.565,-35.369]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.769000004787,0.681999954523,0.607999973671,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[147.882,65.668],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":4,"cix":2,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.213,0.123],[6.288,3.607],[12.284,6.924],[0.894,0.379],[2.252,-1.314],[1.819,-1.791],[-17.273,-10.007],[-0.95,0.549],[-17.4,10.06],[-4.258,2.805]],"o":[[-6.275,-3.627],[-5.131,-2.943],[-2.494,-1.405],[-1.22,0.528],[-14.667,8.562],[4.538,2.653],[1.046,0.606],[17.401,-10.059],[4.408,-2.549],[-0.171,-0.191]],"v":[[66.278,-1.562],[47.435,-12.418],[6.835,-35.361],[-0.379,-39.182],[-8.488,-35.245],[-66.799,-0.937],[-1.311,36.948],[1.397,36.868],[53.62,6.732],[66.799,-0.997]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":4,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.917999985639,0.851000019148,0.764999988032,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[114.462,65.66],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":4,"cix":2,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-0.005,-24.322],[1.903,1.096],[2.616,1.472],[-0.03,5.005],[0.01,9.844]],"o":[[0,0],[-2.239,0.118],[-15.611,-8.992],[-4.347,-2.446],[0.059,-9.842],[4.384,2.492]],"v":[[33.613,-38.028],[33.609,37.91],[27.456,36.222],[-27.186,4.76],[-33.583,-6.359],[-33.594,-76.364]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.995999983245,0.8,0.313999998803,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[80.871,141.03],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":4,"cix":2,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-4.147,2.385],[-0.029,-4.102],[4.338,-2.47],[10.47,-6.046],[2.548,0.242]],"o":[[0,0],[0.031,5.777],[0.036,4.968],[-7.538,4.292],[-2.117,1.223],[-0.005,-24.322]],"v":[[-33.625,-38.09],[33.024,-76.375],[33.598,-6.383],[27.179,4.728],[-26.801,35.827],[-33.629,37.848]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.987999949736,0.736999990426,0.238999998803,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[148.109,141.092],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 5","np":4,"cix":2,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"tr","p":{"a":0,"k":[114.5,111.5],"ix":2},"a":{"a":0,"k":[114.5,111.5],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"box","np":5,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":90,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"bottom_right 4","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[100]},{"t":15}],"ix":11},"r":{"a":0,"k":-150.704,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":0,"s":[379.843,80.643,0],"e":[379.843,300.643,0],"to":[0,36.6666679382324,0],"ti":[0,-30,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":15,"s":[379.843,300.643,0],"e":[379.843,260.643,0],"to":[0,30,0],"ti":[0,6.66666650772095,0]},{"t":19}],"ix":2},"a":{"a":0,"k":[97.496,-65.355,0],"ix":1},"s":{"a":0,"k":[97.228,95.215,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":15,"s":[{"i":[[-0.643,-0.382],[-18.864,-10.591],[-1.644,-0.89],[-2.802,-0.07],[-48.163,1.073],[-0.716,2.224],[2.199,1.39],[17.518,9.202],[1.065,0.003],[53.092,-0.118]],"o":[[18.548,11.008],[1.627,0.914],[2.383,1.289],[48.159,1.198],[2.644,-0.059],[0.735,-2.282],[-16.56,-10.467],[-0.912,-0.479],[-53.092,-0.136],[-0.777,0.002]],"v":[[15.543,-64.979],[72.21,-33.309],[77.014,-30.466],[84.284,-26.777],[228.82,-26.69],[235.696,-30.15],[231.972,-36.474],[180.221,-65.213],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[0.015,-0.679],[-0.933,-32.194],[-1.771,-2.15],[-2.692,-0.074],[-48.163,1.073],[-1.776,1.712],[-0.093,2.413],[1.011,32.595],[1.229,0.008],[53.092,-0.118]],"o":[[-0.71,32.199],[0.077,2.648],[1.573,1.909],[48.155,1.326],[2.644,-0.059],[1.856,-1.789],[1.258,-32.589],[-0.033,-1.073],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[15.61,31.635],[18.561,39.152],[25.158,43.227],[169.694,43.314],[176.57,39.854],[180.087,33.295],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":21,"s":[{"i":[[0.015,-0.679],[-0.933,-32.194],[-1.771,-2.15],[-2.692,-0.074],[-48.163,1.073],[-1.776,1.712],[-0.093,2.413],[1.011,32.595],[1.229,0.008],[53.092,-0.118]],"o":[[-0.71,32.199],[0.077,2.648],[1.573,1.909],[48.155,1.326],[2.644,-0.059],[1.856,-1.789],[1.258,-32.589],[-0.033,-1.073],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[15.61,31.635],[18.561,39.152],[25.158,43.227],[169.694,43.314],[176.57,39.854],[180.087,33.295],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[0.355,-0.604],[9.063,-18.116],[-0.993,-3.498],[-2.692,-0.088],[-49.222,0.786],[-1.832,1.666],[-1.275,2.313],[-9.417,19.905],[1.229,0.008],[53.092,-0.118]],"o":[[-10.346,17.584],[-1.652,3.302],[0.648,2.283],[49.196,1.615],[2.645,-0.042],[2.036,-1.851],[10.697,-19.406],[0.469,-0.992],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-14.038,-11.592],[-16.469,-0.991],[-9.872,3.084],[137.815,4.075],[144.691,0.615],[149.006,-6.101],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":26,"s":[{"i":[[0.355,-0.604],[9.063,-18.116],[-0.993,-3.498],[-2.692,-0.088],[-49.222,0.786],[-1.832,1.666],[-1.275,2.313],[-9.417,19.905],[1.229,0.008],[53.092,-0.118]],"o":[[-10.346,17.584],[-1.652,3.302],[0.648,2.283],[49.196,1.615],[2.645,-0.042],[2.036,-1.851],[10.697,-19.406],[0.469,-0.992],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-14.038,-11.592],[-16.469,-0.991],[-9.872,3.084],[137.815,4.075],[144.691,0.615],[149.006,-6.101],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}],"e":[{"i":[[0.761,0.139],[18.699,4.066],[1.768,2.165],[-1.916,-0.085],[-46.459,-2.274],[-2.914,0.176],[-3.445,-0.368],[-21.965,-2.982],[1.229,0.008],[53.092,-0.118]],"o":[[-18.859,-3.457],[-2.954,-0.642],[-1.114,-1.364],[46.471,2.069],[2.917,0.143],[3.463,-0.21],[22.064,2.356],[1.215,0.165],[-53.09,-0.359],[-0.777,0.002]],"v":[[15.543,-64.979],[-40.778,-76.356],[-49.358,-79.092],[-43.68,-79.91],[95.666,-72.634],[104.429,-72.66],[114.762,-73.791],[180.598,-64.526],[177.029,-65.337],[17.754,-65.628]],"c":true}]},{"t":29}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.976470648074,0.623529411765,0.105882360421,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[99.101,-65.381],"ix":2},"a":{"a":0,"k":[99.101,-65.381],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":90,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"shadow","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[100]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":15,"s":[100],"e":[63]},{"t":21}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":0,"s":[287,509,0],"e":[287,449,0],"to":[0,-10,0],"ti":[0,4.66666650772095,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"n":"0p833_0p833_0p167_0p167","t":15,"s":[287,449,0],"e":[287,481,0],"to":[0,-4.66666650772095,0],"ti":[0,-5.33333349227905,0]},{"t":21}],"ix":2},"a":{"a":0,"k":[119.5,119.5,0],"ix":1},"s":{"a":0,"k":[397.854,250.518,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[81.29,81.29],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":20,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"gf","o":{"a":0,"k":100,"ix":10},"r":1,"g":{"p":3,"k":{"a":0,"k":[0,0,0,0,0.95,0,0,0,1,0,0,0,0.001,0.39,0.524,0.195,0.999,0],"ix":9}},"s":{"a":0,"k":[0.074,0.267],"ix":5},"e":{"a":0,"k":[-25.662,26.134],"ix":6},"t":2,"h":{"a":0,"k":0,"ix":7},"a":{"a":0,"k":0,"ix":8},"nm":"Gradient Fill 1","mn":"ADBE Vector Graphic - G-Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[125.672,140.06],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[124.899,112.74],"ix":3},"r":{"a":0,"k":-47.351,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":123,"st":0,"bm":0}],"markers":[]} -------------------------------------------------------------------------------- /app/src/main/java/com/masscode/animesuta/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.masscode.animesuta 2 | 3 | import android.os.Bundle 4 | import androidx.appcompat.app.AppCompatActivity 5 | import androidx.navigation.NavController 6 | import androidx.navigation.findNavController 7 | import androidx.navigation.ui.NavigationUI 8 | import kotlinx.android.synthetic.main.activity_main.* 9 | import kotlinx.android.synthetic.main.app_bar_main.* 10 | 11 | class MainActivity : AppCompatActivity() { 12 | 13 | private lateinit var navCtrl: NavController 14 | 15 | override fun onCreate(savedInstanceState: Bundle?) { 16 | super.onCreate(savedInstanceState) 17 | setContentView(R.layout.activity_main) 18 | setSupportActionBar(toolbar) 19 | 20 | navCtrl = this.findNavController(R.id.nav_host_fragment) 21 | NavigationUI.setupActionBarWithNavController(this, navCtrl, drawer_layout) 22 | NavigationUI.setupWithNavController(nav_view, navCtrl) 23 | } 24 | 25 | override fun onSupportNavigateUp(): Boolean { 26 | return NavigationUI.navigateUp(navCtrl, drawer_layout) 27 | } 28 | } -------------------------------------------------------------------------------- /app/src/main/java/com/masscode/animesuta/MyApplication.kt: -------------------------------------------------------------------------------- 1 | package com.masscode.animesuta 2 | 3 | import android.app.Application 4 | import com.masscode.animesuta.core.di.databaseModule 5 | import com.masscode.animesuta.core.di.networkModule 6 | import com.masscode.animesuta.core.di.repositoryModule 7 | import com.masscode.animesuta.di.useCaseModule 8 | import com.masscode.animesuta.di.viewModelModule 9 | import org.koin.android.ext.koin.androidContext 10 | import org.koin.android.ext.koin.androidLogger 11 | import org.koin.core.context.startKoin 12 | import org.koin.core.logger.Level 13 | import timber.log.Timber 14 | 15 | class MyApplication : Application() { 16 | override fun onCreate() { 17 | super.onCreate() 18 | startKoin { 19 | androidLogger(Level.ERROR) 20 | androidContext(this@MyApplication) 21 | modules( 22 | listOf( 23 | databaseModule, 24 | networkModule, 25 | repositoryModule, 26 | useCaseModule, 27 | viewModelModule 28 | ) 29 | ) 30 | } 31 | if (BuildConfig.DEBUG) { 32 | Timber.plant(Timber.DebugTree()) 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /app/src/main/java/com/masscode/animesuta/binding/ActivityBinding.kt: -------------------------------------------------------------------------------- 1 | package com.masscode.animesuta.binding 2 | 3 | import androidx.appcompat.app.AppCompatActivity 4 | import androidx.appcompat.widget.Toolbar 5 | import androidx.databinding.BindingAdapter 6 | import com.masscode.animesuta.R 7 | 8 | fun AppCompatActivity.simpleToolbarWithHome(toolbar: Toolbar, title_: String = "") { 9 | setSupportActionBar(toolbar) 10 | supportActionBar?.run { 11 | setDisplayHomeAsUpEnabled(true) 12 | setHomeAsUpIndicator(R.drawable.ic_arrow_back) 13 | title = title_ 14 | } 15 | } 16 | 17 | @BindingAdapter("simpleToolbarWithHome", "simpleToolbarTitle") 18 | fun bindToolbarWithTitle(toolbar: Toolbar, activity: AppCompatActivity, title: String) { 19 | activity.simpleToolbarWithHome(toolbar, title) 20 | } -------------------------------------------------------------------------------- /app/src/main/java/com/masscode/animesuta/binding/BindingAdapters.kt: -------------------------------------------------------------------------------- 1 | package com.masscode.animesuta.binding 2 | 3 | import android.annotation.SuppressLint 4 | import android.widget.ImageView 5 | import android.widget.RatingBar 6 | import android.widget.TextView 7 | import androidx.databinding.BindingAdapter 8 | import com.bumptech.glide.Glide 9 | 10 | @BindingAdapter("app:showImage") 11 | fun showImage(imgView: ImageView, url: String?) { 12 | Glide.with(imgView.context).load(url).into(imgView) 13 | } 14 | 15 | @SuppressLint("SetTextI18n") 16 | @BindingAdapter("app:startDate") 17 | fun startDate(textView: TextView, date: String) { 18 | textView.text = "Start date: $date" 19 | } 20 | 21 | @BindingAdapter("app:setRating") 22 | fun setRating(ratingBar: RatingBar, rating: Double) { 23 | val float = rating.toFloat() 24 | ratingBar.rating = float / 20 25 | } 26 | 27 | @SuppressLint("SetTextI18n") 28 | @BindingAdapter("app:setRatingText") 29 | fun setRatingText(text: TextView, rating: Double) { 30 | text.text = "Rating: $rating" 31 | } -------------------------------------------------------------------------------- /app/src/main/java/com/masscode/animesuta/detail/DetailAnimeActivity.kt: -------------------------------------------------------------------------------- 1 | package com.masscode.animesuta.detail 2 | 3 | import android.content.ActivityNotFoundException 4 | import android.content.Intent 5 | import android.net.Uri 6 | import android.os.Bundle 7 | import androidx.appcompat.app.AppCompatActivity 8 | import androidx.core.content.ContextCompat 9 | import androidx.databinding.DataBindingUtil 10 | import com.masscode.animesuta.R 11 | import com.masscode.animesuta.core.domain.model.Anime 12 | import com.masscode.animesuta.databinding.ActivityDetailAnimeBinding 13 | import org.koin.android.viewmodel.ext.android.viewModel 14 | 15 | class DetailAnimeActivity : AppCompatActivity() { 16 | 17 | private lateinit var binding: ActivityDetailAnimeBinding 18 | private lateinit var mAnime: Anime 19 | private var statusFavorite: Boolean = false 20 | 21 | private val detailViewModel: DetailAnimeViewModel by viewModel() 22 | 23 | override fun onCreate(savedInstanceState: Bundle?) { 24 | super.onCreate(savedInstanceState) 25 | binding = DataBindingUtil.setContentView(this, R.layout.activity_detail_anime) 26 | 27 | mAnime = DetailAnimeActivityArgs.fromBundle(intent.extras!!).anime 28 | statusFavorite = mAnime.isFavorite 29 | setStatusFavorite(statusFavorite) 30 | 31 | with(binding) { 32 | activity = this@DetailAnimeActivity 33 | lifecycleOwner = this@DetailAnimeActivity 34 | anime = mAnime 35 | fab.setOnClickListener { fabListener() } 36 | } 37 | } 38 | 39 | fun playTrailer(id: String) { 40 | val appIntent = Intent(Intent.ACTION_VIEW, Uri.parse("vnd.youtube:$id")) 41 | val webIntent = Intent(Intent.ACTION_VIEW, Uri.parse("http://www.youtube.com/watch?v=$id")) 42 | 43 | try { 44 | startActivity(appIntent) 45 | } catch (ex: ActivityNotFoundException) { 46 | startActivity(webIntent) 47 | } 48 | } 49 | 50 | private fun fabListener() { 51 | statusFavorite = !statusFavorite 52 | detailViewModel.setFavoriteAnime(mAnime, statusFavorite) 53 | setStatusFavorite(statusFavorite) 54 | } 55 | 56 | private fun setStatusFavorite(statusFavorite: Boolean) { 57 | if (statusFavorite) { 58 | binding.fab.setImageDrawable( 59 | ContextCompat.getDrawable( 60 | this, 61 | R.drawable.ic_favorite_white 62 | ) 63 | ) 64 | } else { 65 | binding.fab.setImageDrawable( 66 | ContextCompat.getDrawable( 67 | this, 68 | R.drawable.ic_not_favorite_white 69 | ) 70 | ) 71 | } 72 | } 73 | 74 | } -------------------------------------------------------------------------------- /app/src/main/java/com/masscode/animesuta/detail/DetailAnimeViewModel.kt: -------------------------------------------------------------------------------- 1 | package com.masscode.animesuta.detail 2 | 3 | import androidx.lifecycle.ViewModel 4 | import com.masscode.animesuta.core.domain.model.Anime 5 | import com.masscode.animesuta.core.domain.usecase.AnimeUseCase 6 | 7 | class DetailAnimeViewModel(private val animeUseCase: AnimeUseCase) : ViewModel() { 8 | 9 | fun setFavoriteAnime(anime: Anime, newStatus: Boolean) = 10 | animeUseCase.setFavoriteAnime(anime, newStatus) 11 | 12 | } -------------------------------------------------------------------------------- /app/src/main/java/com/masscode/animesuta/di/AppModule.kt: -------------------------------------------------------------------------------- 1 | package com.masscode.animesuta.di 2 | 3 | import com.masscode.animesuta.core.domain.usecase.AnimeInteractor 4 | import com.masscode.animesuta.core.domain.usecase.AnimeUseCase 5 | import com.masscode.animesuta.detail.DetailAnimeViewModel 6 | import com.masscode.animesuta.home.HomeViewModel 7 | import org.koin.android.viewmodel.dsl.viewModel 8 | import org.koin.dsl.module 9 | 10 | val useCaseModule = module { 11 | factory { AnimeInteractor(get()) } 12 | } 13 | 14 | val viewModelModule = module { 15 | viewModel { HomeViewModel(get()) } 16 | viewModel { DetailAnimeViewModel(get()) } 17 | } -------------------------------------------------------------------------------- /app/src/main/java/com/masscode/animesuta/home/HomeFragment.kt: -------------------------------------------------------------------------------- 1 | package com.masscode.animesuta.home 2 | 3 | import android.os.Bundle 4 | import android.view.LayoutInflater 5 | import android.view.View 6 | import android.view.ViewGroup 7 | import androidx.fragment.app.Fragment 8 | import androidx.navigation.fragment.findNavController 9 | import androidx.recyclerview.widget.GridLayoutManager 10 | import com.masscode.animesuta.R 11 | import com.masscode.animesuta.core.data.Resource 12 | import com.masscode.animesuta.core.domain.model.Anime 13 | import com.masscode.animesuta.core.ui.AnimeAdapter 14 | import kotlinx.android.synthetic.main.fragment_home.* 15 | import kotlinx.android.synthetic.main.view_error.* 16 | import org.koin.android.viewmodel.ext.android.viewModel 17 | import timber.log.Timber 18 | 19 | class HomeFragment : Fragment() { 20 | 21 | private val homeViewModel: HomeViewModel by viewModel() 22 | 23 | override fun onCreateView( 24 | inflater: LayoutInflater, container: ViewGroup?, 25 | savedInstanceState: Bundle? 26 | ): View? { 27 | // Inflate the layout for this fragment 28 | return inflater.inflate(R.layout.fragment_home, container, false) 29 | } 30 | 31 | override fun onViewCreated(view: View, savedInstanceState: Bundle?) { 32 | super.onViewCreated(view, savedInstanceState) 33 | 34 | if (activity != null) { 35 | val animeAdapter = AnimeAdapter { item -> showDetail(item) } 36 | 37 | homeViewModel.anime.observe(viewLifecycleOwner, { anime -> 38 | if (anime != null) { 39 | when (anime) { 40 | is Resource.Loading -> progress_bar.visibility = View.VISIBLE 41 | is Resource.Success -> { 42 | progress_bar.visibility = View.GONE 43 | animeAdapter.setData(anime.data) 44 | } 45 | is Resource.Error -> { 46 | progress_bar.visibility = View.GONE 47 | view_error.visibility = View.VISIBLE 48 | tv_error.text = anime.message ?: getString(R.string.something_wrong) 49 | } 50 | } 51 | } 52 | }) 53 | 54 | with(rv_anime) { 55 | layoutManager = GridLayoutManager(requireContext(), 2) 56 | setHasFixedSize(true) 57 | adapter = animeAdapter 58 | } 59 | } 60 | } 61 | 62 | private fun showDetail(anime: Anime) { 63 | Timber.d("OnClick : ${anime.canonicalTitle}") 64 | this.findNavController() 65 | .navigate(HomeFragmentDirections.actionHomeFragmentToDetailAnimeActivity(anime)) 66 | } 67 | } -------------------------------------------------------------------------------- /app/src/main/java/com/masscode/animesuta/home/HomeViewModel.kt: -------------------------------------------------------------------------------- 1 | package com.masscode.animesuta.home 2 | 3 | import androidx.lifecycle.ViewModel 4 | import androidx.lifecycle.asLiveData 5 | import com.masscode.animesuta.core.domain.usecase.AnimeUseCase 6 | 7 | class HomeViewModel(animeUseCase: AnimeUseCase) : ViewModel() { 8 | 9 | val anime = animeUseCase.getAllAnime().asLiveData() 10 | 11 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_favorite_white.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 15 | 18 | 21 | 22 | 23 | 24 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_not_favorite_white.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_arrow_back.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_favorite_black.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_home.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 15 | 20 | 25 | 30 | 35 | 40 | 45 | 50 | 55 | 60 | 65 | 70 | 75 | 80 | 85 | 90 | 95 | 100 | 105 | 110 | 115 | 120 | 125 | 130 | 135 | 140 | 145 | 150 | 155 | 160 | 165 | 170 | 171 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_play_arrow.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_detail_anime.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 11 | 12 | 15 | 16 | 17 | 18 | 23 | 24 | 30 | 31 | 38 | 39 | 46 | 47 | 52 | 53 | 61 | 62 | 63 | 64 | 65 | 69 | 70 | 79 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 16 | 17 | 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/res/layout/app_bar_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/layout/content_detail_anime.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 11 | 12 | 15 | 16 | 17 | 18 | 23 | 24 | 28 | 29 | 40 | 41 | 56 | 57 | 70 | 71 | 85 | 86 | 97 | 98 | 110 | 111 | 125 | 126 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | -------------------------------------------------------------------------------- /app/src/main/res/layout/content_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_home.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 16 | 17 | 26 | 27 | 30 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 51 | 52 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_list_placeholder.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 17 | 18 | 21 | 22 | 32 | 33 | 42 | 43 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 71 | 72 | 75 | 76 | 86 | 87 | 96 | 97 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /app/src/main/res/layout/nav_header_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 18 | 19 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_empty.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 15 | 16 | 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_error.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/menu/drawer_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agustiyann/Android-Clean-Architecture/0a51677ddcd69eb9f8c2f9c8da62518c894d06ce/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agustiyann/Android-Clean-Architecture/0a51677ddcd69eb9f8c2f9c8da62518c894d06ce/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agustiyann/Android-Clean-Architecture/0a51677ddcd69eb9f8c2f9c8da62518c894d06ce/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agustiyann/Android-Clean-Architecture/0a51677ddcd69eb9f8c2f9c8da62518c894d06ce/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agustiyann/Android-Clean-Architecture/0a51677ddcd69eb9f8c2f9c8da62518c894d06ce/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agustiyann/Android-Clean-Architecture/0a51677ddcd69eb9f8c2f9c8da62518c894d06ce/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agustiyann/Android-Clean-Architecture/0a51677ddcd69eb9f8c2f9c8da62518c894d06ce/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agustiyann/Android-Clean-Architecture/0a51677ddcd69eb9f8c2f9c8da62518c894d06ce/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agustiyann/Android-Clean-Architecture/0a51677ddcd69eb9f8c2f9c8da62518c894d06ce/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agustiyann/Android-Clean-Architecture/0a51677ddcd69eb9f8c2f9c8da62518c894d06ce/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/navigation/nav_graph.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 16 | 17 | 23 | 26 | 27 | 32 | 35 | 36 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #6200EE 4 | #3700B3 5 | #03DAC5 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Animesutā 3 | 4 | Home 5 | Favorite 6 | Oops.. something went wrong 7 | Empty data 8 | 9 | Image 10 | Sample of title text 11 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Beatae eaque iste nobis non quasi ratione veritatis. Accusantium assumenda, cum delectus deserunt dignissimos doloribus ea error esse et ex explicabo fuga ipsa ipsum omnis optio perferendis provident quaerat quam sequi unde? At deleniti dignissimos exercitationem iure officiis perspiciatis rerum tenetur, vitae? 12 | Watch Trailer 13 | Favorite 14 | アニメスター 15 | Details 16 | Synopsis 17 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 |