Skip to content

Shreyassp002/news-katta

Repository files navigation

Kotlin

News Katta Logo

News Katta

A News App that delivers customized short news articles tailored to user preferences.

Tech Stack

  • 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)

Key Features

  1. Browse news by different categories (sports, politics, etc.)
  2. Search for news
  3. View detailed news information
  4. Mark news as favorites
  5. Toggle between light and dark themes

Build Instructions

  1. Clone the project
  git clone https://github.com/Shreyassp002/News-Katta.git
  1. Open project in Android Studio.

  2. Wait for Gradle to download dependencies.

  3. Create a Object file into app/src/main/java/com/rey/newskatta/util/

  4. 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/"
}
  1. Get your Api key from Here
  2. Run.