A beautifully designed Jetpack Compose Android app built with Kotlin, that delivers real-time breaking news. Users can securely log in, browse news by topic, search articles, save them offline, and share effortlessly.
-
🔐 Authentication
- Login, Signup
- Forgot password with reset feature
-
🔴 Latest Breaking News from NewsAPI.org
-
🔍 Search for any topic or article
-
📄 Read Full Articles inside the app
-
📤 Share news externally
-
📁 Save/Delete articles from local Room DB
- MVVM — clear separation of concerns
- Clean Architecture —
data,domain,presentationlayers - Generic UI State Class — for managing API/data loading states
- Kotlin Coroutines — async operations
- Flow & mutableStateOf — reactive UI binding
- DataStore — persistent login status
- Navigation Compose — in-app screen navigation
- Splash Screen API — modern entry transition
- Lifecycle ViewModel & Runtime KTX — lifecycle-aware
- Activity KTX — for easy ViewModel access
- Hilt — ViewModel and repository injection
- Hilt Navigation Compose — ViewModel inside Composables
- Retrofit + Gson — consume NewsAPI
- OkHttp Logging Interceptor — for API debugging
- Room — persist saved articles
- Jetpack Compose — modern declarative UI
- Material 3 — Material You + NavigationDrawer
- Coil — fast image loading
- Firebase Auth — secure login/signup
- Paging Compose — infinite scrolling in news feeds
- INTERNET — to fetch breaking news from NewsAPI
-
Clone the repo:
git clone https://github.com/yourusername/ComposeNews.git
-
Add your NewsAPI.org key in
local.properties:API_KEY=your_api_key_here -
Inject in
build.gradle(:app):buildConfigField("String", "API_KEY", API_KEY)
-
Run on Android Studio Hedgehog or later
NewsCompose • News • Jetpack Compose • Jetpack • Compose • Kotlin • News App • Firebase • Room • Hilt • Retrofit • MVVM • Clean Architecture • State Management • Paging • Coroutines • Flow • DataStore • Navigation • Material 3 • NewsAPI • Compose Navigation • Android
Developed with ❤️ by Shivang Yadav







