Code Monkey home page Code Monkey logo

weatherapp's Introduction

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.

    weatherapp's People

    Contributors

    ankur1305 avatar furkanaskin avatar jihoi-kang avatar nuhkoca avatar rajnish23 avatar

    Stargazers

     avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

    Watchers

     avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

    weatherapp's Issues

    Shared Element Return Transition

    SharedElementEnterTransition works fine but i couldn't add SharedElementReturnTransition.

    For now, i'm faking it with RxAnimations.
    Remove custom return animation and replace it with SharedElementReturnTransition

    Add Error View

    Error state can be found in viewStates, when shouldShowErrorMessage come true, show an error view in fragments.

    Feel free in design. It can be custom view, a simple dialog, snackbar etc.

    Remove Anko

    Anko just used for showing alert dialog, we must say goodbye to Anko

    App is not able to pull location data

    The app is not able to pull data from Algolia Places. App tries to load specified place with a loader animation and sometimes it errors out with β€œCan’t find β€˜Location’. Please try another one.”

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❀️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.