Git Product home page Git Product logo

humanity's Introduction

Weather demo app

Weather App

icon #

Weather is an application for Android, to show current location weather

photo_2022-03-27_13-04-18 (2)

photo_2022-03-27_13-04-18

User can see weather temperature for current location

  • refresh anytime by swiping from top to bottom
  • change measurement units as Celsius, Fahrenheight or Kelvin by tapping on the top left gear icon

App will show nearby image in city as background Will show weather icon and change app color based on weather

Documentation

Developed with Love using:

  • Language - Kotlin
  • Android SDK version - 31
  • Build tools - 31.0.0
  • Min android support version - 21
  • Gradle - 7.1.2
  • Gradle plugin - 7.4.1
  • Architecture - MVVM
  • UI - ViewBidning
  • API openweathermap.org - [developer guide]: https://openweathermap.org/api

Used Libraries

  • Kotlin core and coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-core) // for async calls
  • Coroutine Android - (org.jetbrains.kotlinx:kotlinx-coroutines-android)
  • appCompat older version compatibilities - (androidx.appcompat:appcompat)
  • lifecycle extensions - (androidx.lifecycle:lifecycle-extensions)
  • material lib - (com.google.android.material:material)
  • constraintlayout for complex views (androidx.constraintlayout:constraintlayout)
  • swipe to refresh for refreshing weather (androidx.swiperefreshlayout:swiperefreshlayout)
  • retrofit - for rest api call handle (com.squareup.retrofit2:retrofit)
  • okhhttp - for netork calls (com.squareup.okhttp3:okhttp)
  • GSON - for parsing models from json format (com.google.code.gson:gson)
  • Dagger Hilt - for dependency injection - (com.google.dagger:hilt-android)
  • Coil - image load and display from network (io.coil-kt:coil)
  • Google location gms library for getting location (com.google.android.gms:play-services-location)
  • Google places - for getting image of currrent location (com.google.android.libraries.places:places)
  • jUnit, mockito, espresso - for testing
  • Lottie - for animations (com.airbnb.android:lottie)
  • Crashlytics - getting crash reports (com.google.firebase:firebase-crashlytics-ktx)
  • Analytics - getting analytics data with crashes (com.google.firebase:firebase-analytics-ktx)

Internal Libraries

Using Android Studio

To run the app using Android Studio, simply open the project in the root directory of the repository.

About author

Narek Hayrapetyan - Android software engineer (https://mcnarek.org)

humanity's People

Contributors

narek-hayrapetyan avatar mcnarek avatar

Watchers

 avatar

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.