Skip to content

News application using the API from https://newsapi.org/ API News Is JSON API for live news and blog articles from the media. News Feed is a simple that gives you latest and best news from multiple sources so you no longer need to swap between apps to stay informed.

Notifications You must be signed in to change notification settings

MhmdAwad/NewsFeedApp

 
 

Repository files navigation

News App

News application using the API from https://newsapi.org/ API News Is JSON API for live news and blog articles from the media. News Feed is a simple that gives you latest and best news from multiple sources so you no longer need to swap between apps to stay informed.

Architecture

I choose to use MVVM (Model-View-ViewModel) as my project architecture in order to provide a cleaner code, with clear separation between the view, the data and the business logic. The following diagram shows all the modules and how each module interact with one another after. This architecture using a layered software architecture. 68747470733a2f2f646576656c6f7065722e616e64726f69642e636f6d2f746f7069632f6c69627261726965732f6172636869746563747572652f696d616765732f66696e616c2d6172636869746563747572652e706e67

Note

  • the default and updated branch is dagger/hilt and koin branch not updated

Built With 🛠

  • Kotlin - official programming language for Android development .
  • Coroutines - for asynchronous programming .
  • Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
    • LiveData - Data objects that notify views when the underlying database changes.
    • ViewModel - Stores UI-related data that isn't destroyed on UI changes.
    • Room - Access your app's SQLite database with in-app objects and compile-time checks.
    • Navigation -
  • dagger-hilt - Dependency Injection Framework (Kotlin).
  • Retrofit - A type-safe HTTP client for Android and Java.
  • Fragment
  • Glide for image loading
  • pretty time - format time

screens of the app

  • Splash Screenshot_20200515-202418 1

  • Home from api Screenshot_20200515-202423 1

  • Home Cached from api using room Screenshot_20200515-202114 1

  • Favourite Screenshot_20200515-180027 2

  • Delete All Screenshot_20200515-180102 1

  • Details Screenshot_20200515-180039 1

  • Web View Screenshot_20200515-180051 1

About

News application using the API from https://newsapi.org/ API News Is JSON API for live news and blog articles from the media. News Feed is a simple that gives you latest and best news from multiple sources so you no longer need to swap between apps to stay informed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%