📰 Hek News is a sample Android project using News API based on MVVM architecture
For API Documentation: Click here
home screen | news detail | read later |
---|---|---|
splash screen | list-detail-read later |
---|---|
Add your News API's API key in local.properties file.
NEWS_API_KEY=add_your_api_key
and run the app.
- ✅ MVVM with Clean Architecture
- ✅ Kotlin Flow - In coroutines, a flow is a type that can emit multiple values sequentially, as opposed to suspend functions that return only a single value.
- ✅ 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.
- ✅ Coroutines - A concurrency design pattern that you can use on Android to simplify code that executes asynchronously.
- ✅ Navigation Component - Handle everything needed for in-app navigation. asynchronous tasks for optimal execution.
- ✅ Safe-Args - For passing data between destinations
- ✅ Dagger-Hilt - A dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project.
- ✅ Room - The Room persistence library provides an abstraction layer over SQLite to allow for more robust database access while harnessing the full power of SQLite.
- ✅ ViewModel - Easily schedule asynchronous tasks for optimal execution.
- ✅ Retrofit - Retrofit is a REST client for Java/ Kotlin and Android by Square inc under Apache 2.0 license. Its a simple network library that is used for network transactions. By using this library we can seamlessly capture JSON response from web service/web API.
- ✅ OkHttp - Doing HTTP efficiently makes your stuff load faster and saves bandwidth.
- ✅ View Binding - a feature that allows you to more easily write code that interacts with views.
- ✅ Lifecycle - As a user navigates through, out of, and back to your app, the Activity instances in your app transition through different states in their lifecycle.
- ✅ Glide - for image loading framework for Android that wraps media decoding, memory and disk caching, and resource pooling into a simple and easy to use interface.
- ✅ Firebase Auth - You can use Firebase Authentication to let your users authenticate with Firebase using their email addresses and passwords, and to manage your app's password-based accounts.
- ✅ Lottie - Lottie is an open-source animation file format that’s tiny, high quality, scriptable, interactive, and can be manipulated at runtime
- ✅ Coil - An image loading library for Android backed by Kotlin Coroutines