A News App that delivers customized short news articles tailored to user preferences.
- Kotlin
- Jetpack Compose
- MVVM architecture
- NewsApi
- Paging 3 Library
- Retrofit
- Room Database
- Dagger Hilt
- Datastore Preferences
- 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/Constants.kt
-
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.