/NewsSnap

Primary LanguageKotlin

NewsSnap App

NewsSnap is a modern Android application built with Jetpack Compose.

Displays a list of news articles fetched from the News API using Retrofit.

It features Biometric Authentication for secure login, Paging 3 for efficient data loading, Coil for image loading, Retrofit for network requests, Dagger Hilt for dependency injection, and Compose Navigation for seamless navigation within the app. The app supports both light and dark modes to enhance the user experience in different lighting conditions.

Architecture

The app follows the Clean Architecture pattern, separating the app into three layers: Presentation, Domain, and Data. Presentation Layer (MVVM): Contains the UI components and ViewModels using Jetpack Compose. Domain Layer: Contains the business logic and use cases. Data Layer: Manages data operations, such as fetching data from a remote server or local database.

Preview

2   2   2   2   2   2  

2   2   2   2   2  

Installation

Clone the repository and open the project in Android Studio. Build and run the app on an Android device or emulator. Go to News API and generate an API key Put the API key at the bottom of the gradle.properties newsAPIKey = "YOUR_API_KEY" Run the app