This is a Compose Multiplatform project targeting Android, iOS, Desktop.This app allows users to browse through a list of news articles and view their details. Additionally, it integrates Gemini AI to generate extended content for articles with a short summary.
├── composeApp
├── src
├── androidMain
├── commonMain
├── kotlin
├── core
├── data
├── di
├── model
├── navigation
├── repository
├── ui
├── util
├── resources
├── desktopMain
├── iosMain
├── build.gradle.kts
├── gradle
├── iosApp
├── screenshots
└── README.md
//Constants.kt
const val NEWS_API_KEY = "Enter your NEWS_API_KEY"
const val GEMINI_API_KEY = "Enter your GEMINI_API_KEY"
- Jetpack Compose
- Ktor client: Http client
- Coroutines
- Koin: Dependency injection framework.
- Voyager: A multiplatform navigation library. Also used ScreenModel API that is just like ViewModel.
- Kamel: Image loading library for Compose Multiplatform.
- Kotlinx - serialization: Serialization library.
Home Screen - Android | Detail Screen - Android |
---|---|
Home Screen - iOS | Detail Screen - iOS |
---|---|
Home Screen - Desktop | Detail Screen - Desktop |
---|---|