Skip to content

A weather app that provides real-time information about the location provided. 🌤️

Notifications You must be signed in to change notification settings

ifMaxi/WeatherCompose

Repository files navigation

Weather Compose

A weather app that provides real-time information about the location provided.

The app is made up of two screens:

  • A welcome screen that welcomes you when you enter the app (for demonstration the app shows this screen every time it starts, in a production app this screen should be shown only once.)
  • The main screen which will show information obtained from Weather Api such as current weather, sunrise and sunset, a list with hourly data of the day's weather and the next day's weather

Note

Due to limitations of the API, only data from the current day and the next day is shown.

Important

When you have the project in Android Studio and Gradle finishes synchronizing, you will need an API KEY that you can obtain by registering from the following link Weather Api.

Once you finish, you will need to place the KEY in your "local.properties" file with the name "KEY" and import it into the "ApiKeyInterceptor" file that you will find in the following field: main/java/com/maxidev/weather/data/network/remote/ApiKeyInterceptor.

The configuration in the Build.Gradle file at the App level has already been done.

Architecture

The architecture used for the project was MVVM (Model - View - ViewModel). This aims to separate the UI (View) from the business logic (ViewModel) and data (Model).

MVVM architecture graph

Language and libraries

Screenshots

Light Mode

Welcome Screen StandBy
Error Screen Main Screen

Dark Mode

Welcome Screen StandBy
Error Screen Main Screen

Demo

Welcome Screen Main Screen Dark Mode

Releases

No releases published

Packages

 
 
 

Languages