An open API service indexing awesome lists of open source software.

https://github.com/carpodok/city_air_quality_app

This application shows us the air quality values of the city typed in searchview.
https://github.com/carpodok/city_air_quality_app

android hilt-dagger2 kotlin livedata mvvm-architecture retrofit2 room-database snackbar viewbinding

Last synced: 8 months ago
JSON representation

This application shows us the air quality values of the city typed in searchview.

Awesome Lists containing this project

README

          

# :sunrise_over_mountains: city_air_quality_app

### :trident: Main aim of this application is showing us the air quality values of the city typed in searchview.


:heavy_exclamation_mark: You need to get API KEY from Ambeedata. After you get api key, place it into Contants class. :heavy_exclamation_mark:


#### This project consist of two screens which are ;

Girl in a jacketGirl in a jacket




## What does this app do ?

:small_orange_diamond: Receives the air quality of the city we type into the search view using Retrofit from the API

:small_orange_diamond: The received cities' values are saved locally via Room Database

:small_orange_diamond: Search view gives us city name suggestions based on old data.

:small_orange_diamond: If there is no such city name searched before, you can go to the detail screen by clicking the search button.

:small_orange_diamond: We can click city name suggestion to go to detail screen.

:small_orange_diamond: In detail screen there is a part that includes up to date air quality of the city. Furthermore, there are also previous searches we get from database



### Built with ;

:small_orange_diamond: Room Database- is a part of the Android Architecture components which provides an abstraction layer over SQLite.

:small_orange_diamond: Hilt-Dagger - Library that provides a standard way to incorporate Dagger dependency injection into an Android application.

:small_orange_diamond: LiveData - Observable data holder class

:small_orange_diamond: Retrofit - A type-safe HTTP client for Android , Java and Kotlin.

:small_orange_diamond: Ambeedata - Api used in this project

:small_orange_diamond: View Binding - Feature that allows you to more easily write code that interacts with views

:small_orange_diamond: Snackbars - To gives error and warning messages.