🌦Maxela(Means "Weather" in my local dialect - Changana) Is an app that displays weather data of 10 European cities and weather from my local city Maputo.
The App Makes a request to OpenWeatherMap's API to get:
- A list of the current
weather data
Base URL = "https://api.openweathermap.org/data/2.5/"
PS: To test this code you will need to:
- Get an API Key from OpenWeatherMap
- Create a file on the Utils package with:
const val API_KEY = "PLACE YOUR API KEY HERE"
- Android Jetpack - Suite of libraries, tools, and guidance to help developers write high-quality apps easier.
- Glide - A fast and efficient open source media management and image loading framework for Android.
- Google Play Core - Offers a runtime interface with the Google Play Store.
- GSON - Java library that can be used to convert Java Objects into their JSON representation.
- Hilt - Library that provides a standard way to incorporate Dagger dependency injection into an Android application.
- Kotlin Coroutines - Concurrency design pattern used on Android to simplify code that executes asynchronously.
- Retrofit 2 - A type-safe HTTP client for Android and Java.
- Timber - Logger with a small, extensible API which provides utility on top of Android's normal Log class.
- Doilio A. Matsinhe
Copyright 2020 Doilio Abel Matsinhe
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.