News App Updated Version
Please ⭐️ this repo and share it with others.
Description
The application has been modified and now works using the MVVM architecture pattern, data binding, and Kotlin Coroutines.
Screenshots
Light Mode
Video
News.mp4
Tools
- Kotlin
- Glide - Glide is a fast and efficient open source media management and image loading framework for Android.
- Google gson - For parsing JSON data.
- View Model - The View Model class is designed to store and manage UI-related data in a lifecycle conscious way.
- Live Data - LiveData is an observable data holder class. Unlike a regular observable, LiveData is lifecycle-aware, meaning it respects the lifecycle of other app components, such as activities, fragments, or services.
- Data Binding - The Data Binding Library is a support library that allows you to bind UI components in your layouts to data sources in your app using a declarative format rather than programmatically.
- Dependency Injection Using Hilt - Hilt is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project.
- Repository Pattern
Network Calls
- Retrofit - A type-safe HTTP client for Android and Java.
Background tasks
- Kotlin Coroutines - A coroutine is a concurrency design pattern that you can use on Android to simplify code that executes asynchronously.
Code Architecture