This Android app allows users to search for news articles using the News API (https://newsapi.org/).
- Search for news articles by keyword
- View search results with paging
- Save favorite articles
- View article details including author, title, description, URL, and published date
- MVVM architecture
- Clean architecture (SOLID principles)
- Compose for UI
- Flow for reactive programming
- Retrofit for network requests
- Paging for search results
- Hilt for dependency injection
- Room for local database storage
- Android SDK 24+
- Kotlin 1.9+
- Android Studio 8.3+
- News API key (sign up at https://newsapi.org/)
- Clone the repository
- Open the project in Android Studio
- Add your News API key to the
local.properties
file:news_api_key="YOUR_API_KEY"
- Build and run the app on an emulator or physical device
- Initial commit with basic project setup
- Integrated Hilt for dependency injection
- Added Retrofit for network requests and API service
- Implemented paging for search results
- Added Room database for storing favorite articles
- Designed the home screen layout with tabs
- Added screen for searching news articles
- Added screen to display favorite articles
- Added functionality to sync search articles with favorite state