├── .gitignore ├── .idea ├── .gitignore ├── compiler.xml ├── gradle.xml ├── inspectionProfiles │ └── Project_Default.xml ├── kotlinc.xml └── misc.xml ├── README.md ├── app ├── .gitignore ├── build.gradle.kts ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── loc │ │ └── androidarchitecturesample │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── loc │ │ │ └── androidarchitecturesample │ │ │ ├── MainActivity.kt │ │ │ ├── MyApplication.kt │ │ │ ├── di │ │ │ ├── AppModule.kt │ │ │ └── RepositoryModule.kt │ │ │ ├── store │ │ │ ├── data │ │ │ │ ├── maper │ │ │ │ │ └── Mapper.kt │ │ │ │ ├── remote │ │ │ │ │ └── ProductsApi.kt │ │ │ │ └── repository │ │ │ │ │ └── ProductsRepositoryImpl.kt │ │ │ ├── domain │ │ │ │ ├── model │ │ │ │ │ ├── NetworkError.kt │ │ │ │ │ └── Product.kt │ │ │ │ └── repository │ │ │ │ │ └── ProductsRepository.kt │ │ │ └── presentation │ │ │ │ ├── products_screen │ │ │ │ ├── ProductsScreen.kt │ │ │ │ ├── ProductsViewModel.kt │ │ │ │ ├── ProductsViewState.kt │ │ │ │ └── components │ │ │ │ │ └── ProductCard.kt │ │ │ │ └── util │ │ │ │ ├── ViewModelExt.kt │ │ │ │ └── components │ │ │ │ ├── LoadingDialog.kt │ │ │ │ └── MyTopAppBar.kt │ │ │ ├── ui │ │ │ └── theme │ │ │ │ ├── Color.kt │ │ │ │ ├── Theme.kt │ │ │ │ └── Type.kt │ │ │ └── util │ │ │ ├── Constants.kt │ │ │ └── EventBus.kt │ └── res │ │ ├── drawable │ │ ├── ic_launcher_background.xml │ │ └── ic_launcher_foreground.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ └── data_extraction_rules.xml │ └── test │ └── java │ └── com │ └── loc │ └── androidarchitecturesample │ └── ExampleUnitTest.kt ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── settings.gradle.kts └── steps.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/.idea/compiler.xml -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/.idea/gradle.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/kotlinc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/.idea/kotlinc.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/build.gradle.kts -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/com/loc/androidarchitecturesample/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/androidTest/java/com/loc/androidarchitecturesample/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/MainActivity.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/MyApplication.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/MyApplication.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/di/AppModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/di/AppModule.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/di/RepositoryModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/di/RepositoryModule.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/store/data/maper/Mapper.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/store/data/maper/Mapper.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/store/data/remote/ProductsApi.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/store/data/remote/ProductsApi.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/store/data/repository/ProductsRepositoryImpl.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/store/data/repository/ProductsRepositoryImpl.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/store/domain/model/NetworkError.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/store/domain/model/NetworkError.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/store/domain/model/Product.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/store/domain/model/Product.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/store/domain/repository/ProductsRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/store/domain/repository/ProductsRepository.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/store/presentation/products_screen/ProductsScreen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/store/presentation/products_screen/ProductsScreen.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/store/presentation/products_screen/ProductsViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/store/presentation/products_screen/ProductsViewModel.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/store/presentation/products_screen/ProductsViewState.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/store/presentation/products_screen/ProductsViewState.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/store/presentation/products_screen/components/ProductCard.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/store/presentation/products_screen/components/ProductCard.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/store/presentation/util/ViewModelExt.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/store/presentation/util/ViewModelExt.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/store/presentation/util/components/LoadingDialog.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/store/presentation/util/components/LoadingDialog.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/store/presentation/util/components/MyTopAppBar.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/store/presentation/util/components/MyTopAppBar.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/ui/theme/Color.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/ui/theme/Color.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/ui/theme/Theme.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/ui/theme/Theme.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/ui/theme/Type.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/ui/theme/Type.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/util/Constants.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/util/Constants.kt -------------------------------------------------------------------------------- /app/src/main/java/com/loc/androidarchitecturesample/util/EventBus.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/java/com/loc/androidarchitecturesample/util/EventBus.kt -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/drawable/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/values/themes.xml -------------------------------------------------------------------------------- /app/src/main/res/xml/backup_rules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/xml/backup_rules.xml -------------------------------------------------------------------------------- /app/src/main/res/xml/data_extraction_rules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/main/res/xml/data_extraction_rules.xml -------------------------------------------------------------------------------- /app/src/test/java/com/loc/androidarchitecturesample/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/app/src/test/java/com/loc/androidarchitecturesample/ExampleUnitTest.kt -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/settings.gradle.kts -------------------------------------------------------------------------------- /steps.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lofcoding/AndroidArchitectureSample/HEAD/steps.txt --------------------------------------------------------------------------------