Skip to content
5 Day Forecast app that works on Android and uses latest tools (Kotlin, Navigation, Room, LiveData, Databinding, Dagger 2)
Kotlin
Branch: master
Clone or download
Latest commit b56c79a Jan 2, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
gradle/wrapper
.gitignore Setup Codecov with Travis Nov 23, 2019
.travis.yml Update .travis.yml Dec 22, 2019
README.md
build.gradle
codecov.yml Added current weather repository test. Dec 27, 2019
gradle.properties
gradlew Initial commit Oct 17, 2019
gradlew.bat
settings.gradle

README.md

contributions welcome Codacy Badge API ktlint Travis CI Android Weekly

Weatherapp

appicon

Weatherapp is a simple forecast app, which uses some APIs to fetch 5 day / 3 hour forecast data from the OpenWeatherMap and to fetch places,cities,counties,coords etc. from Algolia Places. The main goal of this app is to be a sample of how to build an high quality Android application that uses the Architecture components, Dagger etc. in Kotlin.

Outputs

Gif1 Gif2 Gif3 Gif4

Libraries and tools 🛠

  • Navigation
  • Shared Preferences
  • ViewModel
  • LiveData
  • Transformations
  • Data Binding
  • RoomDB
  • RxJava
  • RxAndroid
  • RxKotlin
  • Dagger 2
  • Retrofit
  • OkHttp
  • Moshi
  • Stetho
  • Picasso
  • Material Design
  • RxAnimation
  • ThreeTenABP
  • Ktlint
  • Algolia Search API Client for Android
  • Shadow
  • Testing 🧪

  • Mockk
  • Truth
  • Architecture

    The app uses MVVM [Model-View-ViewModel] architecture to have a unidirectional flow of data, separation of concern, testability, and a lot more.

    Architecture

    Dependency Graph 🔪

    The following diagram shows the dependency graph of the app.

    Screen Shot 2019-11-20 at 12 03 24

    Generated by Daggraph

    Design

    Inspired by Ramonyv and weather icons taken from isneezy/open-weather-icons

    License

    Copyright (c) 2019 Furkan Aşkın
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.
    
    You can’t perform that action at this time.