Skip to content

This project is an Android application that demonstrates the effective implementation of Clean Architecture in Android app development. It utilizes The New York Times API to fetch and display the latest news to users.

Notifications You must be signed in to change notification settings

arrazyfathan/nytimes-android

Repository files navigation

NY Times

This project is an Android application that demonstrates the effective implementation of Clean Architecture in Android app development. It utilizes The New York Times API to fetch and display the latest news to users.

License API

Download

Go to the Releases to download the latest APK.

Tech stack & Open-source libraries

  • Minimum SDK level 21
  • Kotlin based, Coroutines
  • Jetpack Compose - recommended modern toolkit for building native UI.
  • Coil - An image loading library for Android backed by Kotlin Coroutines
  • Jetpack
    • Lifecycle - dispose of observing data when lifecycle state changes.
    • ViewModel - UI related data holder, lifecycle aware.
    • Room Persistence - construct the database using the abstract layer.
  • Architecture
    • MVVM Architecture
    • Repository pattern
  • Material-Components - Material design components for building ripple animation, and CardView.
  • Glide - Load image and caching image
  • TimeAgo - Simple java library for displaying dates as relative time ago language.
  • Lottie - Render After Effects animations natively on Android and iOS, Web, and React Native
  • Swiperefreshlayout - Implement the swipe-to-refresh UI pattern.
https://api.nytimes.com/svc/topstories/v2/home.json?api-key=yourkey

Dependency Diagram

%%{
  init: {
    'theme': 'neutral'
  }
}%%

graph LR

  app --> logging
  app --> logging
  app --> logging
  app --> logging

Loading

Demo App

License

MIT License

Copyright (c) [2022] [Ar Razy Fathan Rabbani]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

About

This project is an Android application that demonstrates the effective implementation of Clean Architecture in Android app development. It utilizes The New York Times API to fetch and display the latest news to users.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages