Skip to content

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.

Notifications You must be signed in to change notification settings

Vi-r-us/Meather

Repository files navigation

Weather App

API Kotlin License

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. The main goal of this app is to be a simple designed (monotonic tone) of how to build an high quality Android application that uses the Architecture components, in Kotlin.

Screenshots

Gif1 Gif2     Gif2   Gif1

Gif1 Gif2     Gif1 Gif2     Gif1 Gif2

Gif1 Gif2     Gif1 Gif2

Tech Stack & Open-source libraries

  • Minimum SDK level 21.
  • Kotlin - official programming language for Android development.
  • Coroutines - for asynchronous programming.
  • Retrofit - Retrofit is type-safe REST client for Android and Java which aims to make it easier to consume RESTful web services.
  • Android Architecture Components - collection of libraries that help you design robust, testable, and maintainable apps.
    • LiveData - data objects that notify views when the underlying database changes.
    • Data Binding - data objects to bind UI components in your layouts to data sources in your app.
    • ViewModel - stores UI-related data that isn't destroyed on UI changes.
    • Room - access your app's SQLite database with in-app objects and compile-time checks.
    • Lifecycle - components to perform actions in response to a change in the lifecycle status of another component, such as activities and fragments.
  • Navigation - interactions that allow users to navigate across, into, and back out from the different pieces of content within your app.
  • Fragment - represents a behavior or a portion of user interface in a FragmentActivity.
  • RecyclerView - for display a scrolling list of elements based on large data sets.
  • Shared Preferences - A SharedPreferences object points to a file containing key-value pairs and provides simple methods to read and write them.
  • Material-Components - Material design components.

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

Contributing

Awesome! If you would like to contribute you're always welcome!

Steps :

1.Fork it

2.Create your feature branch (git checkout -b my-new-feature)

3.Commit your changes (git commit -m 'Add some feature')

4.Push your branch (git push origin my-new-feature)

5-Create a new Pull Request

License

Copyright (c) 2022 Sahil Kumar

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

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages