├── .gitignore ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── hellohasan │ │ └── weatherappmvvm │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── assets │ │ └── city_list.json │ ├── java │ │ └── com │ │ │ └── hellohasan │ │ │ └── weatherappmvvm │ │ │ ├── common │ │ │ └── RequestCompleteListener.kt │ │ │ ├── features │ │ │ └── weather_info_show │ │ │ │ ├── model │ │ │ │ ├── WeatherInfoShowModel.kt │ │ │ │ ├── WeatherInfoShowModelImpl.kt │ │ │ │ └── data_class │ │ │ │ │ ├── City.kt │ │ │ │ │ ├── Clouds.kt │ │ │ │ │ ├── Coord.kt │ │ │ │ │ ├── Main.kt │ │ │ │ │ ├── Sys.kt │ │ │ │ │ ├── Weather.kt │ │ │ │ │ ├── WeatherData.kt │ │ │ │ │ ├── WeatherInfoResponse.kt │ │ │ │ │ └── Wind.kt │ │ │ │ ├── view │ │ │ │ └── MainActivity.kt │ │ │ │ └── viewmodel │ │ │ │ └── WeatherInfoViewModel.kt │ │ │ ├── network │ │ │ ├── ApiInterface.kt │ │ │ ├── QueryParameterAddInterceptor.kt │ │ │ └── RetrofitClient.kt │ │ │ └── utils │ │ │ └── Extensions.kt │ └── res │ │ ├── drawable-v24 │ │ ├── haze.png │ │ ├── ic_launcher_foreground.xml │ │ ├── ic_sunrise.xml │ │ └── ic_sunset.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ ├── activity_main.xml │ │ ├── layout_input_part.xml │ │ ├── layout_sunrise_sunset.xml │ │ ├── layout_weather_additional_info.xml │ │ └── layout_weather_basic_info.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 │ └── hellohasan │ └── weatherappmvvm │ └── ExampleUnitTest.kt ├── data └── screenshot_1.png ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/com/hellohasan/weatherappmvvm/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/androidTest/java/com/hellohasan/weatherappmvvm/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/assets/city_list.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/assets/city_list.json -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/common/RequestCompleteListener.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/common/RequestCompleteListener.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/WeatherInfoShowModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/WeatherInfoShowModel.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/WeatherInfoShowModelImpl.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/WeatherInfoShowModelImpl.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/City.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/City.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/Clouds.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/Clouds.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/Coord.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/Coord.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/Main.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/Main.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/Sys.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/Sys.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/Weather.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/Weather.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/WeatherData.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/WeatherData.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/WeatherInfoResponse.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/WeatherInfoResponse.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/Wind.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/model/data_class/Wind.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/view/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/view/MainActivity.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/viewmodel/WeatherInfoViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/features/weather_info_show/viewmodel/WeatherInfoViewModel.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/network/ApiInterface.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/network/ApiInterface.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/network/QueryParameterAddInterceptor.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/network/QueryParameterAddInterceptor.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/network/RetrofitClient.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/network/RetrofitClient.kt -------------------------------------------------------------------------------- /app/src/main/java/com/hellohasan/weatherappmvvm/utils/Extensions.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/java/com/hellohasan/weatherappmvvm/utils/Extensions.kt -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/haze.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/drawable-v24/haze.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_sunrise.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/drawable-v24/ic_sunrise.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_sunset.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/drawable-v24/ic_sunset.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_input_part.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/layout/layout_input_part.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_sunrise_sunset.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/layout/layout_sunrise_sunset.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_weather_additional_info.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/layout/layout_weather_additional_info.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_weather_basic_info.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/layout/layout_weather_basic_info.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/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/hasancse91/weather-app-android-mvvm/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/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /app/src/test/java/com/hellohasan/weatherappmvvm/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/app/src/test/java/com/hellohasan/weatherappmvvm/ExampleUnitTest.kt -------------------------------------------------------------------------------- /data/screenshot_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/data/screenshot_1.png -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancse91/weather-app-android-mvvm/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | rootProject.name='Weather App MVVM' 3 | --------------------------------------------------------------------------------