mdd1991 / Weatherapp

5 Day Forecast app that works on Android and uses latest tools (Kotlin, Navigation, Room, LiveData, Databinding, Dagger 2)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

contributions welcome Codacy Badge API ktlint Travis CI Android Weekly Student Gallery

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.
    

    About

    5 Day Forecast app that works on Android and uses latest tools (Kotlin, Navigation, Room, LiveData, Databinding, Dagger 2)


    Languages

    Language:Kotlin 100.0%