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.
Go to the Releases to download the latest APK.
- 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.
API NY Time API
https://api.nytimes.com/svc/topstories/v2/home.json?api-key=yourkey
%%{
init: {
'theme': 'neutral'
}
}%%
graph LR
app --> logging
app --> logging
app --> logging
app --> logging
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.