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.
- Host: GitHub
- URL: https://github.com/carpodok/city_air_quality_app
- Owner: carpodok
- Created: 2022-09-06T17:34:25.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-07T17:57:04.000Z (about 3 years ago)
- Last Synced: 2025-01-11T04:35:13.369Z (9 months ago)
- Topics: android, hilt-dagger2, kotlin, livedata, mvvm-architecture, retrofit2, room-database, snackbar, viewbinding
- Language: Kotlin
- Homepage:
- Size: 113 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 ;
## 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.