├── .gitignore ├── .idea ├── .name ├── codeStyles │ ├── Project.xml │ └── codeStyleConfig.xml ├── compiler.xml ├── gradle.xml ├── jarRepositories.xml ├── misc.xml ├── runConfigurations.xml └── vcs.xml ├── README.md ├── app ├── .gitignore ├── Project structure.PNG ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── rajkumarrajan │ │ └── mvvm_architecture │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── rajkumarrajan │ │ │ └── mvvm_architecture │ │ │ ├── MainApplication.kt │ │ │ ├── data │ │ │ ├── api │ │ │ │ ├── ApiHelper.kt │ │ │ │ └── ApiService.kt │ │ │ ├── model │ │ │ │ └── User.kt │ │ │ └── repository │ │ │ │ └── MainRepository.kt │ │ │ ├── di │ │ │ ├── DataRepositoryModule.kt │ │ │ └── NetworkingModule.kt │ │ │ ├── ui │ │ │ └── main │ │ │ │ ├── adapter │ │ │ │ └── MainAdapter.kt │ │ │ │ ├── view │ │ │ │ └── MainActivity.kt │ │ │ │ └── viewmodel │ │ │ │ └── MainViewModel.kt │ │ │ └── utils │ │ │ ├── Resource.kt │ │ │ └── Status.kt │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ ├── activity_main.xml │ │ └── item_layout.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── rajkumarrajan │ └── mvvm_architecture │ └── ExampleUnitTest.kt ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | MVVM-Architecture -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/.idea/codeStyles/Project.xml -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/.idea/codeStyles/codeStyleConfig.xml -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/.idea/compiler.xml -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/.idea/gradle.xml -------------------------------------------------------------------------------- /.idea/jarRepositories.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/.idea/jarRepositories.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/.idea/runConfigurations.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/Project structure.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/Project structure.PNG -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/com/rajkumarrajan/mvvm_architecture/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/androidTest/java/com/rajkumarrajan/mvvm_architecture/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/com/rajkumarrajan/mvvm_architecture/MainApplication.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/java/com/rajkumarrajan/mvvm_architecture/MainApplication.kt -------------------------------------------------------------------------------- /app/src/main/java/com/rajkumarrajan/mvvm_architecture/data/api/ApiHelper.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/java/com/rajkumarrajan/mvvm_architecture/data/api/ApiHelper.kt -------------------------------------------------------------------------------- /app/src/main/java/com/rajkumarrajan/mvvm_architecture/data/api/ApiService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/java/com/rajkumarrajan/mvvm_architecture/data/api/ApiService.kt -------------------------------------------------------------------------------- /app/src/main/java/com/rajkumarrajan/mvvm_architecture/data/model/User.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/java/com/rajkumarrajan/mvvm_architecture/data/model/User.kt -------------------------------------------------------------------------------- /app/src/main/java/com/rajkumarrajan/mvvm_architecture/data/repository/MainRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/java/com/rajkumarrajan/mvvm_architecture/data/repository/MainRepository.kt -------------------------------------------------------------------------------- /app/src/main/java/com/rajkumarrajan/mvvm_architecture/di/DataRepositoryModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/java/com/rajkumarrajan/mvvm_architecture/di/DataRepositoryModule.kt -------------------------------------------------------------------------------- /app/src/main/java/com/rajkumarrajan/mvvm_architecture/di/NetworkingModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/java/com/rajkumarrajan/mvvm_architecture/di/NetworkingModule.kt -------------------------------------------------------------------------------- /app/src/main/java/com/rajkumarrajan/mvvm_architecture/ui/main/adapter/MainAdapter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/java/com/rajkumarrajan/mvvm_architecture/ui/main/adapter/MainAdapter.kt -------------------------------------------------------------------------------- /app/src/main/java/com/rajkumarrajan/mvvm_architecture/ui/main/view/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/java/com/rajkumarrajan/mvvm_architecture/ui/main/view/MainActivity.kt -------------------------------------------------------------------------------- /app/src/main/java/com/rajkumarrajan/mvvm_architecture/ui/main/viewmodel/MainViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/java/com/rajkumarrajan/mvvm_architecture/ui/main/viewmodel/MainViewModel.kt -------------------------------------------------------------------------------- /app/src/main/java/com/rajkumarrajan/mvvm_architecture/utils/Resource.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/java/com/rajkumarrajan/mvvm_architecture/utils/Resource.kt -------------------------------------------------------------------------------- /app/src/main/java/com/rajkumarrajan/mvvm_architecture/utils/Status.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/java/com/rajkumarrajan/mvvm_architecture/utils/Status.kt -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/item_layout.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/layout/item_layout.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/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/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /app/src/test/java/com/rajkumarrajan/mvvm_architecture/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/app/src/test/java/com/rajkumarrajan/mvvm_architecture/ExampleUnitTest.kt -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RajKumar23/MVVM-Coroutines-Retrofit-Hilt/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name='MVVM-Architecture' 2 | include ':app' 3 | --------------------------------------------------------------------------------