Skip to content

A sample weather app using Jetpack Compose UI and MVVM architecture.

Notifications You must be signed in to change notification settings

SaadKhanJadoon/Compose-MVVM-Weather-App

Repository files navigation

Compose-MVVM-Weather-App

A sample app using Jetpack Compose UI and MVVM architecture.

The app is created to showcase the usage of a standard MVVM architecture approach with jetpack compose as UI, and uses the OpenWeather api for fetching data.

weather-app

Built With

  • Jetpack Compose for UI
  • MVVM Architecture
  • Retrofit (for API Calling).
  • Hilt Dependency Injection.
  • Glide (for Image Loading).
  • Kotlin Coroutines.
  • StateFlow
  • Sealed Class.

Setup

  • First, get your app ID from OpenWeather.
  • Navigate to the Constants file located in the Utils folder in the application.
  • Locate the "place your app id here" placeholder within the Constants file and replace it with your unique app ID obtained from OpenWeather.
  • Once you've updated the Constants file, run your project.

Contributing

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

About

A sample weather app using Jetpack Compose UI and MVVM architecture.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages