Keeping you up-to date with the latest Filipino and International news.
Feed your mind with the hottest PH-based and International news. This app also allows you to save reads for later.
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.
- Local News- PH-based headlines that was generated by the NewsAPI
- International News- Since the API has no option for International News, I used US-based headlines.
- Save News for Future Reading - Save your favorite or to-read later.
- Search for an Article- Use keyword to get a list of news related to your query
- No Internet Connection/Unknown Response Error Handling- Prevent the app from crashing if no internet or an unexpected response occur.
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.
- Open Android Studio
- Click File -> New -> Project from Version Control
- In the URL field, paste this: https://github.com/Fangzsx/news-app.git
- Set directory of the project
- Click Clone
Coil by CoilKt 😎😚
Retrofit by Squareup 😍😘
SDP/SSP by Intuit 😻🐲