Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 2.47 KB

README.md

File metadata and controls

43 lines (34 loc) · 2.47 KB

News Zone

News Zone is an android application based on modern Android application tech-stacks and MVVM architecture.
This project is for focusing especially on the new library Dagger-Hilt of implementing dependency injection.
Also fetching data from the network and integrating persisted data in the database via repository pattern.


Tech stack & Open-source libraries

  • Minimum SDK level 24
  • Kotlin based, Coroutines + Flow for asynchronous.
  • Dagger-Hilt for dependency injection.
  • JetPack
    • LiveData - notify domain layer data to views.
    • 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)
    • Repository pattern
  • Retrofit2 & OkHttp3 - construct the REST APIs and paging network data.
  • Gson - A JSON library.
  • Coil - Coroutine Image Loader Library for loading images.
  • Lottie - Library for Android and iOS that parses Adobe After Effects animations.
  • Leak Canary - A memory leak detection library for Android.

Architecture

News Zone is based on MVVM architecture and a repository pattern.

architecture

Open API

News Zone using the NewsAPI for constructing RESTful API.
News API is a simple and easy-to-use API that returns JSON metadata for headlines and articles live all over the web right now.

📸 Screenshots

Cached Results