All Projects → mayokunadeniyi → Instant-Weather

mayokunadeniyi / Instant-Weather

Licence: MIT license
An Android weather application implemented using the MVVM pattern, Retrofit2, Dagger Hilt, LiveData, ViewModel, Coroutines, Room, Navigation Components, Data Binding and some other libraries from the Android Jetpack.

Programming Languages

kotlin
9241 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Instant-Weather

Instant Weather
An Android weather application implemented using the MVVM pattern, Retrofit2, Dagger2, LiveData, ViewModel, Coroutines, Room, Navigation Components, Data Binding and some other libraries from the Android Jetpack.
Stars: ✭ 473 (-30.13%)
Mutual labels:  dependency-injection, retrofit2, timber, databinding, livedata, room-persistence-library
Foodium
It simply loads Posts data from API and stores it in persistence storage (i.e. SQLite Database). Posts will be always loaded from local database. Remote data (from API) and Local data is always synchronized.
Stars: ✭ 1,940 (+186.56%)
Mutual labels:  retrofit2, coroutines-android, livedata, room-persistence-library
Android-MVVM-News-App
MVVM News Application with clean code architecture & android jetpack components.
Stars: ✭ 38 (-94.39%)
Mutual labels:  retrofit2, livedata, room-persistence-library, navigation-architecture-component
Price Tracker
Price Tracking Application - An experimental Kotlin Android project with complex android app requirements.
Stars: ✭ 80 (-88.18%)
Mutual labels:  dependency-injection, retrofit2, livedata
Android App Architecture Mvvm Databinding
A simple but complete project (in both Java & Kotlin) to demonstrate the Android application architecture with MVVM pattern, a client app for The Movie DB Web API. Dagger2 is used for dependency injection and RxJava is used for RFP (Reactive Functional Programming).
Stars: ✭ 69 (-89.81%)
Mutual labels:  dependency-injection, databinding, room-persistence-library
Android Mvvm Rx3 Dagger2 Navcomponent
Implemented using MVVM, LiveData, Room, RX3, Dagger2, Coil, View Binding, Navigation Component and AndroidX
Stars: ✭ 72 (-89.36%)
Mutual labels:  retrofit2, livedata, room-persistence-library
Fountain
Android Kotlin paged endpoints made easy
Stars: ✭ 175 (-74.15%)
Mutual labels:  retrofit2, livedata, room-persistence-library
Newsapp
A Sample News App written in Kotlin using Android Architecture Components, MVVM
Stars: ✭ 179 (-73.56%)
Mutual labels:  retrofit2, livedata, room-persistence-library
Marvelheroes
❤️ A sample Marvel heroes application based on MVVM (ViewModel, Coroutines, LiveData, Room, Repository, Koin) architecture.
Stars: ✭ 826 (+22.01%)
Mutual labels:  dependency-injection, retrofit2, databinding
Kriptofolio
Free open source minimalistic cryptocurrencies portfolio app for Android.
Stars: ✭ 79 (-88.33%)
Mutual labels:  dependency-injection, coroutines-android, livedata
android-clean-architecture
🚀🚀🚀 The boilerplate for Android using Kotlin & Clean architecture.
Stars: ✭ 21 (-96.9%)
Mutual labels:  dependency-injection, coroutines-android, livedata
catchflicks
🎬 Kitchen sink project for learning android concepts 🎬
Stars: ✭ 12 (-98.23%)
Mutual labels:  dependency-injection, retrofit2, databinding
Food Ordering App Like Swiggy Uber Eats Mvvm And Room Database
Food ordering app using MVVM architecture patterns, Architecture Lifecycle components and Room database.
Stars: ✭ 53 (-92.17%)
Mutual labels:  retrofit2, livedata, room-persistence-library
Pokemongo
神奇宝贝 (PokemonGo) 基于 Jetpack + MVVM + Repository 设计模式 + Data Mapper + Kotlin Flow 的实战项目,如果这个仓库对你有帮助,请仓库右上角帮我 star 一下,非常感谢。
Stars: ✭ 848 (+25.26%)
Mutual labels:  retrofit2, timber, databinding
Harrypotter
🧙🏻 Sample HarryPotter application based on MVVM architecture (ViewModel, LiveData, Repository, Coroutines, Koin or Dagger-Hilt)
Stars: ✭ 116 (-82.87%)
Mutual labels:  dependency-injection, databinding, livedata
Android Architecture Components Kotlin
Clean code App with Kotlin and Android Architecture Components
Stars: ✭ 23 (-96.6%)
Mutual labels:  retrofit2, livedata, room-persistence-library
Base Mvvm
App built to showcase basic Android View components like ViewPager, RecyclerView(homogeneous and heterogeneous items), NavigationDrawer, Animated Vector Drawables, Collapsing Toolbar Layout etc. housed in a MVVM architecture
Stars: ✭ 18 (-97.34%)
Mutual labels:  retrofit2, livedata, room-persistence-library
Wanandroid
🏄 基于Architecture Components dependencies (Lifecycles,LiveData,ViewModel,Room)构建的WanAndroid开源项目。 你值得拥有的MVVM快速开发框架:https://github.com/jenly1314/MVVMFrame
Stars: ✭ 410 (-39.44%)
Mutual labels:  retrofit2, databinding, livedata
Mvvmarms
Android MVVM Architecture Components based on MVPArms and Android Architecture Components.
Stars: ✭ 425 (-37.22%)
Mutual labels:  retrofit2, databinding, livedata
Mvvmframe
🏰 MVVMFrame for Android 是一个基于Google官方推出的Architecture Components dependencies(现在叫JetPack){ Lifecycle,LiveData,ViewModel,Room } 构建的快速开发框架。有了MVVMFrame的加持,从此构建一个MVVM模式的项目变得快捷简单。
Stars: ✭ 218 (-67.8%)
Mutual labels:  retrofit2, databinding, livedata

Instant Weather

Android Build Android Weekly BCH compliance My twitter Shield

An Android weather application implemented using the MVVM pattern, Retrofit2, Dagger Hilt, LiveData, ViewModel, Coroutines, Room, Navigation Components, Data Binding and some other libraries from the Android Jetpack . Instant Weather fetches data from the OpenWeatherMap API to provide real time weather information. It also makes use of the Algolia Instant Search service which enables you search for weather conditions of various locations.

Get it on Google Play

Architecture

The architecture of this application relies and complies with the following points below:

Technologies used:

  • Retrofit a REST Client for Android which makes it relatively easy to retrieve and upload JSON (or other structured data) via a REST based webservice.
  • Dagger Hilt for dependency injection.
  • ViewModel to store and manage UI-related data in a lifecycle conscious way.
  • LiveData to handle data in a lifecycle-aware fashion.
  • Navigation Component to handle all navigations and also passing of data between destinations.
  • Timber - a logger with a small, extensible API which provides utility on top of Android's normal Log class.
  • Algolia Search API - Android to quickly and seamlessly implement search within the application.
  • Work Manager to manage Android background jobs.
  • Material Design an adaptable system of guidelines, components, and tools that support the best practices of user interface design.
  • Coroutines used to manage the local storage i.e. writing to and reading from the database. Coroutines help in managing background threads and reduces the need for callbacks.
  • Data Binding to declaratively bind UI components in layouts to data sources.
  • Room persistence library which provides an abstraction layer over SQLite to allow for more robust database access while harnessing the full power of SQLite.
  • Paging Library helps you load and display small chunks of data at a time.
  • Android KTX which helps to write more concise, idiomatic Kotlin code.
  • Preferences to create interactive settings screens.

Installation

Instant Weather requires a minimum API level of 21. Clone the repository. You will need an API key i.e. API_KEY from Open Weather to request data. If you don’t already have an account, you will need to create one in order to request an API Key. Also, you will need to create an app on Algolia.

Generate a search only API key i.e. ALGOLIA_API_KEY, the APP ID i.e. ALGOLIA_APP_ID for the app you created and then create an Index under that app, you will need the index name i.e. ALGOLIA_INDEX_NAME to setup the search functionality in this application. You can populate the index with records from here.

Each record follows this structure:

{
    "objectID": "ffe74e4cdddbc_dashboard_generated_id",
    "country": "Zimbabwe",
    "geonameid": 1085510,
    "name": "Epworth",
    "subcountry": "Harare"
}
  

In your project's root directory, inside the local.properties file (create one if unavailable) include the following lines:

API_KEY = "YOUR_API_KEY"
ALGOLIA_API_KEY = "YOUR_API_KEY"
ALGOLIA_APP_ID = "YOUR_APP_ID"
ALGOLIA_INDEX_NAME = "YOUR_INDEX_NAME"

Contribution

All contributions are welcome. If you are interested in seeing a particular feature implemented in this app, please open a new issue after which you can make a PR!

Alt

LICENSE

MIT License

Copyright (c) 2020 Mayokun Adeniyi

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].