Skip to content

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

License

Notifications You must be signed in to change notification settings

furkanaskin/Weatherapp

Repository files navigation

contributions welcome Codacy Badge API ktlint Build Status Android Weekly Student Gallery DevLibrary

Weatherapp

appicon

Weatherapp is a simple weather 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, Hilt etc. in Kotlin.

Outputs

Gif1 Gif2 Gif3 Gif4

Libraries and tools 🛠

  • Navigation
  • Shared Preferences
  • ViewModel
  • LiveData
  • Transformations
  • Data Binding
  • RoomDB
  • Hilt
  • RxJava
  • RxAndroid
  • RxKotlin
  • 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) 2021 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.