Weather application example with Android Architecture components and Clean Architecture

Related tags

App WeatherApp
Overview

Weather application example with Android Architecture components and Clean Architecture

Weather app that shows how to architect an android app in a clean architecture with kotlin coroutines. It simply shows a list of weather forecast that is fetched from open api : Open Weather Map

Technical

Libraries

Android Jetpack

  • ViewBinding A feature that allows you to more easily write code that interacts with views..

  • Navigation Navigation refers to the interactions that allow users to navigate across, into, and back out from the different pieces of content within your app.

  • LiveData Build data objects that notify views when the underlying database changes.

  • ViewModel Store UI-related data that isn't destroyed on app rotations. Easily schedule asynchronous tasks for optimal execution.

Database

  • Room The Room persistence library provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite

HTTP

  • Retrofit2 Type-safe HTTP client for Android and Java by Square, Inc.

  • OkHttp An HTTP+HTTP/2 client for Android and Java applications.

Coroutines

  • Kotlin Coroutines Coroutines is a rich library for coroutines developed by JetBrains. It contains a number of high-level coroutine-enabled primitives that this guide covers, including launch, async and others.

DI

  • Koin A pragmatic lightweight dependency injection framework for Kotlin developers.

Unit Test

  • Mockk MockK is a library for mocking written in Kotlin.As a native library, it helps our teams to write clean and concise code on testing Kotlin applications instead of using incommodious wrappers of Mockito or PowerMock

  • Junit JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.

Checklist

  • Programming language: Kotlin
  • Design app 's architecture (MVVM - Clean Architecture)
  • Apply LiveData mechanism
  • UI should be looks like in attachment.
  • Write Unit Tests
  • Acceptance Tests
  • Exception handling
  • Caching handling
  • Secure Android app from:
    • Decompile APK
    • Rooted device
    • Data transmission via network
    • Encryption for sensitive information
  • Accessibility for Disability Supports:
    • Talkback: Use a screen reader. b. Scaling Text: Display size and font size: To change the size
    • items on your screen, adjust the display size or font size.
  • Entity relationship diagram for the database and solution diagrams for the components, infrastructure design if any.
  • Readme file includes:
    • Brief explanation for the software development principles,patterns & practices being applied
    • Brief explanation for the code folder structure and the key Java/Kotlin libraries and frameworks being used
    • All the required steps in order to get the application run on local computer
    • Checklist of items the candidate has done.
You might also like...
Alkaa is a to-do application project to study the latest components, architecture and tools for Android development
Alkaa is a to-do application project to study the latest components, architecture and tools for Android development

Alkaa (begin, start in Finnish) is a to-do application project to study the latest components, architecture and tools for Android development. The project evolved a lot since the beginning is available on Google Play! ❤️

Github-Api-Pagination-Example - Pagination 3 Example using Github Api

Github-Api-Pagination Pagination 3 Example using Github Api Tech Stack 100% Kotl

:movie_camera: Movie discovery app showcasing Android best practices with Google's recommended architecture: MVVM + Repository + Offline support + Android Architecture Components + Paging library & Retrofit2.
:movie_camera: Movie discovery app showcasing Android best practices with Google's recommended architecture: MVVM + Repository + Offline support + Android Architecture Components + Paging library & Retrofit2.

Popular Movies Stage 1 + Stage 2 Discover the most popular and top rated movies playing. Movies data fetched using themoviedb.org API. ✨ Screenshots M

🛒A Minimal Expense E-Commerce App built to demonstrate the use of modern android architecture components [Navigation, Room, MotionLayout, etc..] with MVVM Architecture. ✔
🛒A Minimal Expense E-Commerce App built to demonstrate the use of modern android architecture components [Navigation, Room, MotionLayout, etc..] with MVVM Architecture. ✔

E-Store A Simple E-Commerce App 📱 built to demonstrate the use of modern android architecture component with MVVM Architecture 🏗 . Made with love ❤️

Movie application created with TMDB API, Architecture Components, Android Jetpack libraries

MovieApp Movie application created with TMDB API, Architecture Components, Android Jetpack libraries Built With 🛠️ • Kotlin - The language used in th

School project: Weather forecast application made in android studio using Kotlin, SQLite and OpenWeatherMaps free API.
School project: Weather forecast application made in android studio using Kotlin, SQLite and OpenWeatherMaps free API.

A*star 4-cast School project made in android studio using Kotlin, SQLite and free API from OpenWeatherMap.org. A weather forecast app with C(U)RD oper

A simple weather application focused on material UI and API data calls.

YAWA-WeatherApp YAWA is a simple single screen, single activity weather app with material UI. This repository is mainly focused on people who want to

Weather API application with kotlin

mobile_bootcamp_final_project Weather API application Weather application using

An application to find out the weather according to the current location of the phone

Weather App An application to find out the weather according to the current loca

Owner
null
Weather app : Jetpack Compose Clean Architecture Example

Weather app - Jetpack Compose Clean Architecture Example Weather app is an example for show current weather from World Cities, built with Jetpack Comp

Bach 20 Nov 21, 2022
Advanced Android Weather App using MVVM Architecture Sample (ViewModel + LiveData + Kotlin + volley) = Weather App

Advanced Android Weather App using MVVM Architecture Sample (ViewModel + LiveData + Kotlin + volley) = Weather App Video Weather.-.HD.720p.mov Introdu

wykee2 4 Jul 12, 2022
☁️🌤🌧☀ Weather Android application that gives you the weather information of your saved location or any region you are looking for☁️🌤🌧☀

☁️????☀ Weather Android application that gives you the weather information of your saved location or any region you are looking for☁️????☀

Nisa Efendioğlu 4 Apr 6, 2022
Weather-app - Making Weather application using retrofit from api

weather-app Motivasyon Hava Durumu uygulamasını api'den retrofit kullanarak yapm

İsa Kulaksız 0 Nov 2, 2022
Shreyas Patil 2.1k Dec 30, 2022
WeatherProject - Weather Project using GPS data and the weather from the API based on the search

WeatherProject In this project, I showed the weather at the current location usi

null 6 Apr 26, 2022
MVVM News Application with clean code architecture & android jetpack components.

Android - Clean Architecture - Kotlin The purpose of this repo is to follow up Clean Architecture principles by bringing them to Android. The repo con

Rafsan Ahmad 38 Aug 8, 2022
A weather app for Android using OpenWeatherMap with MVVM + Clean Architecture

Weather App ?? Weather App for Android that shows 16 days forecast for Paris, France - Made with Hilt, Coroutines, Retrofit, ViewModel, Navigation bas

Waseef Akhtar 7 Oct 4, 2022
Small training project where dagger, dagger hilt and other components are used for clean architecture

LeagueNow ?? LeagueNow is a sample soccer team list Android application ?? built to demonstrate use of modern Android development tools - (Kotlin, Arc

Kevin Serrano 1 Oct 21, 2021
App Tragos: a clean architecture app example

CocktailApp This is a clean architecture app example built with Coroutines MVVM Extension Functions Dagger Hilt Retrofit Room Navigation Components Ca

Axel-Aranibar 1 Jun 23, 2022