Skip to content

Keeping you up-to date with the latest Filipino and International news.

Notifications You must be signed in to change notification settings

Fangzsx/news-app

Repository files navigation

news-app

Keeping you up-to date with the latest Filipino and International news.

Screenshots 📱

About this app ❤

Feed your mind with the hottest PH-based and International news. This app also allows you to save reads for later.

Download APK ⬇

Click me!

Inspiration 😊

This app was inspired by a tutorial created by Philipp Lackner on Youtube. I was curious about different ways to implement MVVM Architecture and so I followed his video and as a bonus, I learned about Pagination.

Features 🔥

  1. Local News- PH-based headlines that was generated by the NewsAPI
  2. International News- Since the API has no option for International News, I used US-based headlines.
  3. Save News for Future Reading - Save your favorite or to-read later.
  4. Search for an Article- Use keyword to get a list of news related to your query
  5. No Internet Connection/Unknown Response Error Handling- Prevent the app from crashing if no internet or an unexpected response occur.

Project Experience 👷

I learned a lot in this project especially the option to put all ViewModel functionalities into the parent Activity. Normally, I put my ViewModel to each fragment individually, and in my opinion, that was more organized rather than putting them into a single file, in this case, the NewsActivity itself. For the sake of organizing, I prefer it that way because if a certain fragment or activity does not do exactly what I want, I'll just check its respective ViewModel. As for saving articles, I used Room Database and for the design, I created my own using Figma.

Tech Stack 🛠

Run Locally 🖥

  1. Open Android Studio
  2. Click File -> New -> Project from Version Control
  3. In the URL field, paste this: https://github.com/Fangzsx/news-app.git
  4. Set directory of the project
  5. Click Clone

Libraries Used 🙇

Coil by CoilKt 😎😚

Retrofit by Squareup 😍😘

SDP/SSP by Intuit 😻🐲