A simple and elegant news application built using Kotlin, NewsAPI, and various Android technologies such as MVVM, Retrofit, Navigation Component, Coroutines, and Room Database. Stay informed with the latest news from around the world with the News App.
- Bottom navigation with three categories: headlines, favorites, and search
- Real-time news fetching from NewsAPI
- Web view for viewing articles in Article Fragment
- Floating action button for saving articles to favorites
- Favorites section for saved articles in Favorites Fragment
- Swipe-to-delete and undo functionality for removing articles from favorites
- Search functionality for finding news articles in Search Fragment
- Kotlin: The programming language used.
- NewsAPI: The API used.
- MVVM Architecture: Follows the Model-View-ViewModel architectural pattern for organized and scalable code.
- Retrofit: For making network requests to the NewsAPI.org backend.
- Coroutines: Utilized for asynchronous and non-blocking programming.
- Navigation Component: Simplifies navigation between fragments within the app.
- Room Database: Stores favorite articles locally for offline access.
- Bottom Navigation: Provides easy access to different sections of the app.
![]() Headlines Screen |
![]() Favourites Screen |
![]() Favourites Screen with Swipe to delete feature |
![]() Search Screen |
- NewsAPI for providing the news data
- Android for developing the Android platform
- JetBrains for developing Kotlin
- Square for developing Retrofit
- Google for developing Navigation Component and Coroutines
- Google for developing Room Database
Contributions are welcome!