Giter VIP home page Giter VIP logo

willkopec / mvvmnewsappincompose Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 11.69 MB

A news application that allows you to browse, search and save news articles from newsAPI.org. This Application uses MVVM Architecture.

Kotlin 100.00%
android android-app android-application android-development android-mvvm-architecture android-open-source android-studio coroutines-android dagger-hilt jetpack-compose kotlin-android room news news-app newsapi

mvvmnewsappincompose's Introduction

News App

Welcome to the News App! This Android application provides a seamless experience for staying updated with the latest news across various categories. Written in Kotlin and following the MVVM architecture pattern, it offers a modern and efficient approach to news consumption.

Features

  • Category-based News: Explore news articles across different categories including Breaking, Economic, Sports, and more, providing comprehensive coverage of various topics.
  • Save Articles: Save your favorite news articles for later reference, ensuring you never miss important updates.
  • Search Functionality: Easily search for news articles using keywords, making it convenient to find specific information.
  • Light/Dark Mode: Switch between light and dark mode themes seamlessly with the tap of a button!

Technologies Used

The News App leverages several technologies and libraries to enhance performance and user experience:

  • Room: For local database storage, facilitating seamless article saving and retrieval.
  • Dagger Hilt: Used for dependency injection, ensuring modular and maintainable code.
  • Retrofit: For handling network requests, enabling smooth communication with news APIs.
  • Compose: Utilized for building the user interface with modern and declarative UI components.
  • Coroutines: For asynchronous programming, enabling efficient handling of long-running tasks such as network requests.
  • Moshi: For JSON parsing, simplifying the process of converting JSON data into Kotlin objects.
  • Coil: Used for image loading and caching, enhancing performance and optimizing network bandwidth.
  • Timber: For logging purposes, aiding in debugging and monitoring application behavior.

Installation

To run the News App locally, follow these steps:

  1. Clone this repository to your local machine.
  2. Open the project in Android Studio.
  3. Build and run the application on an Android emulator or a physical device.

Getting Started

Once the News App is installed and running, you can:

  • Browse news articles by selecting different categories.
  • Save articles by tapping on the bookmark icon.
  • Use the search functionality to find articles based on keywords.

Feedback

All feedback or suggestions for improving the News App is welcome. Feel free to leave feedback/suggestions on what could be better in the issues section or feel free to send a PR.

Images

mvvmnewsDark1 mvvmnewsLight1 github3 mvvmsaveddark mvvmsavedlight1 mvvmsearchdark mvvmsearchlight

Application when there is no Internet Connection:

news app no connection

mvvmnewsappincompose's People

Contributors

willkopec avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.