Awesome Open Source
Awesome Open Source

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.

    Related Awesome Lists
    Top Programming Languages
    Top Projects

    Get A Weekly Email With Trending Projects For These Topics
    No Spam. Unsubscribe easily at any time.
    Kotlin (49,275
    Weather (11,844
    Mvvm (5,189
    Rxjava (4,228
    Forecast (3,419
    Viewmodel (2,401
    Dagger (1,801
    Livedata (1,592
    Weather App (1,504
    Databinding (1,496
    Dagger2 (1,311
    Openweathermap (992
    Algolia (866
    Rxkotlin (235
    Weather Icons (147
    Mockk (69
    Local First (33
    Truth (27
    Algolia Places (13