A News App that delivers customized short news articles tailored to user preferences.
- Language: Kotlin
- UI Framework: Jetpack Compose
- Architecture: MVVM (Model-View-ViewModel)
- Networking: Retrofit
- JSON Parsing: Gson
- Image Loading: Coil
- Asynchronous Programming: Kotlin Coroutines
- Navigation: Jetpack Navigation Compose
- Dependency Injection: Dagger Hilt
- UI Components: Material Design 3
- Build System: Gradle with Kotlin DSL
- Minimum SDK: 21 (Android 5.0 Lollipop)
- Target SDK: 34 (Android 14)
- Browse news by different categories (sports, politics, etc.)
- Search for news
- View detailed news information
- Mark news as favorites
- Toggle between light and dark themes
- Clone the project
git clone https://github.com/Shreyassp002/News-Katta.git
-
Open project in Android Studio.
-
Wait for Gradle to download dependencies.
-
Create a Object file into
app/src/main/java/com/rey/newskatta/util/
-
Copy this code and paste in Constants.kt
object Constants {
const val USER_SETTINGS = "userSettings"
const val APP_ENTRY = "appEntry"
const val API_KEY = " /*Your api key here*/ "
const val BASE_URL = "https://newsapi.org/v2/"
}
- Get your Api key from Here
- Run.