Giter Site home page Giter Site logo

vladshurakov / weatherapp Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 2.79 MB

:partly_sunny: Weather App on Kotlin MVI Clean Architecture on Android.

License: MIT License

Kotlin 100.00%
android coroutines hilt kotlin mvi mvi-architecture weather weather-app vladshurakov weatherapp

weatherapp's Introduction

Weather App

weatherappbanner

Static Badge Static Badge

Weather App on Kotlin MVI Clean Architecture for Android.

Feel free to make issues, forks and pull requests.

โฌ‡๏ธ Download

Go to Releases to download the latest APK or ABB.

๐Ÿ“ฑ Screenshots & Gifs

screenshots

Search Weather Favorite Cities
Gif1 Gif2 Gif3

๐Ÿ“‹ Tech Stack

  • Minimum SDK level 21(Android 5.0)
  • Programming language: Kotlin
  • Architecture: Clean + MVI pattern
  • Network: Retrofit2 & Gson + OkHttp3(Logging-interceptor)
  • Dependency Injection: Hilt
  • Async: Coroutines + LiveData
  • DataBase: Room

Contribute

Want to contribute? See CONTRIBUTING.md

Contributors Wall

๐Ÿ“„ License

MIT License

Copyright (c) 2023 Vladislav

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

vladshurakov avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

weatherapp's Issues

[FEATURE] Navigation Component

Is your feature request related to a problem? Please describe.
As a user, I would like to go back from CitySearch/Settings Screen to Weather Screen when clicking the back button. There is no back stack in the app right now

Describe the solution you'd like
Create navigation where will be all fragments.

Additional context
No

[FEATURE] Swipe between favorite cities

Is your feature request related to a problem? Please describe.
It will be better if the user can switch between their favorite cities on the weather screen.

Describe the solution you'd like
When user opening fragment_weather(Screen.Weather), make a request from the database to get user's favorite cities. If user has favorite cities make request from network to get weather from first favorite city. User can swipe between favorite cities.

Describe alternatives you've considered
No

Additional context
If someone wants to do this task, then this video may be useful to you:
YouTube video

[FEATURE] Add favorite city functionality

What does this feature add?

This feature adds the ability to add a city to favorites. This will help users find the cities they want to find faster.

How can this feature be developed further?

Then you can add the ability to switch between your favorite cities on the Weather Screen.

Done

  • Add new boolean favorite field in CityEntity
  • Edit getCities function from CitySearchViewModel
  • Add getFavoriteCities function to CitySearchViewModel
  • Add changeInFavorite function to CitySearchViewModel
  • Add favorite icon on fragment_city_search layout
  • Edit CitiesAdapter bind function
  • Add onClickListener for favorite icon
  • Add currentCityName field in CitySearchState

[FEATURE] Hourly Forecast Chart

Is your feature request related to a problem? Please describe.
As a user, I would like to see hourly forecast chart instead of cards.

Describe the solution you'd like
You can use AnyChart library for it.

Describe alternatives you've considered
No

Additional context
No

[FEATURE] UI Update

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
No

Describe alternatives you've considered
No

Additional context
New UI for app

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.