Skip to content

Inspired by Tinder, this android APP provides a clean and interactive UI that allows users to swipe left and right to discard or save the news for later reading.

Notifications You must be signed in to change notification settings

Tianyao-Ma/SwipeNews

Repository files navigation

SwipeNews

-----------------------------------------------------

🎬 About the project

According to recent research conducted by the Atlantic, the Times publishes about 230 pieces of content—stories, graphics, interactives, and blog posts—daily. As a reader, I often feel overwhelmed by the number of notifications sent by the news app per day, and easily get interrupted or distracted by the pop-out ads when I try to read the articles. How can we take more control over what we want to read? How can we make the news reading experience more curated and personal?

Inspired by Tinder, this android APP provides a clean and interactive UI that with each launch, it will retrieve 20 latest global news using News API, displayed as cardStackView with headline and image, to allow users to swipe left and right to discard or save the news for later reading. The app also supports users to search news by keyword and create their favorite news lists for future review.

-----------------------------------------------------

🎞️ Project Demo

🤖 Tech Stack

  • Java
  • Android JetPack
  • RoomDB
  • Retrofit
  • Android Studio
  • Google Component Architectural MVVM Pattern

📐 Design Doc

🔥 Key Features

For those of you not familiar with Pacman, it's a game where Pacman (the yellow circle with a mouth in the above figure) moves around in a maze and tries to eat as many food pellets (the small white dots) as possible, while avoiding the ghosts (the other two agents with eyes in the above figure). If Pacman eats all the food in a maze, it wins.

  • Achieved Google Component Architectural MVVM Pattern using one single activity with multiple fragments.
  • Implemented the bottom view & page navigation using JetPack navigation component
  • Utilized 3rd party CardStackView(RecyclerView) to support Tinder-like swipe gestures for likes/dislikes.
  • Built the Room Database with LiveData & ViewModel to support local cache and offline model.
  • Integrated Retrofit and LiveData to pull the latest news data from a RESTFUL endpoint (newsapi.org).

About

Inspired by Tinder, this android APP provides a clean and interactive UI that allows users to swipe left and right to discard or save the news for later reading.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages