Skip to content

michalgwo/news-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News App

News App is a simple MVVM Clean Architecture project to showcase sample usages of Room, Retrofit, Kotlin Coroutines, and Hilt. There are also a few unit tests created. It uses News API to display breaking news and allows you to save them for later.

Installation

  1. Clone the repository git clone https://github.com/michalgwo/news-app.git

  2. Go to News API website and generete your free API key

  3. Add API_KEY variable to your gradle.properties file, in case you don't have the file, you need to create it. API_KEY="YOUR API KEY"

Features

  • Get news headlines from API and display them in RecyclerView
  • Read whole articles by clicking on them
  • Save articles
  • Pagination
  • Search news
  • Get saved news headlines and display in RecyclerView
  • Delete saved artices by swipe
  • Retrieve deleted article by clicking "Undo" on snackbar

About

News App shows you breaking news and allows you save them

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages