/AppTask-forecast

A forecast app that provides weather updates, leveraging modern Android development tools and libraries such as Jetpack Compose, Retrofit, and Coroutines for seamless data fetching and UI rendering

Primary LanguageKotlin

Forecast App Task

A forecast app that provides weather updates, leveraging modern Android development tools and libraries such as Retrofit, and Coroutines for seamless data fetching and UI rendering


Download

Go to the Releases to download the latest APK.

Tech stack & Open-source libraries

  • Minimum SDK level 21
  • Kotlin based, Coroutines + Flow for asynchronous.
  • Hilt for dependency injection.
  • JetPack
    • Lifecycle - dispose of observing data when lifecycle state changes.
    • ViewModel - UI related data holder, lifecycle aware.
    • Room Persistence - construct a database using the abstract layer.
  • Architecture
    • MVVM Architecture (View - DataBinding - ViewModel - Model)
    • Bindables - Android DataBinding kit for notifying data changes to UI layers.
    • Repository pattern
  • Retrofit2 & OkHttp3 - construct the REST APIs and paging network data.
  • Material-Components - Material design components like ripple animation, cardView.

Data flow

Forecast app is data flow.

data_flow

Architecture

Forecast app is based on MVVM architecture and a repository pattern.

architecture