Skip to content

devashishonline/NewsApp-Khabar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewsApp-Khabar

NewsApp-Khabar is a fully functional Android news application built using Kotlin and Jetpack Compose, which delivers the latest news articles through seamless integration with the Google News API. The app follows the MVVM (Model-View-ViewModel) architecture pattern to maintain a clean and scalable codebase. Users can browse through news articles, search for specific topics, and bookmark their favorite articles for later reference.

Features

  • Modern UI with Jetpack Compose: A clean, responsive user interface designed with Jetpack Compose for native Android views.
  • Splash Screen: A quick splash screen displayed during app launch.
  • News Feed: Fetch and display real-time news articles using Retrofit to consume the Google News API.
  • Search Functionality: Allows users to search for specific news articles by keyword.
  • Bookmarking: Users can save articles they want to revisit later and access them from the Bookmark section.
  • Bottom Navigation: Smooth navigation between Home, Search, and Bookmark sections through a bottom navigation bar.

Screenshots

Here are some screenshots of the app:

Onboarding Screens

Onboarding Onboarding

Home Screen, Search, and Article Details

Home and Search Home and Search

Bookmark Section

Bookmark Bookmark

Tech Stack

  • Kotlin: The programming language used for building the app.
  • Jetpack Compose: A modern toolkit for building native Android UI.
  • Retrofit: For making API requests to the Google News API.
  • Coroutines: To manage background threads and asynchronous code.
  • Room Database: For saving and retrieving bookmarked articles.
  • Paging 3: Used for efficient and smooth pagination, allowing the app to load data incrementally as users scroll through articles.
  • Dagger Hilt: A dependency injection library used to manage and inject dependencies across the app, improving modularity and scalability.

Architecture

The app follows the MVVM architecture pattern:

  • Model: Responsible for handling business logic and managing data sources like the API and local Room database.
  • View: The UI layer built with Jetpack Compose.
  • ViewModel: Manages the communication between the Model and the View, ensuring separation of concerns.

How to Run the App

  1. Clone the repository.
    git clone https://github.com/devashishonline/NewsApp-Khabar.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages