/GoogleNews

MVVM architecture demo

Primary LanguageKotlin

Android MVVM Starter Project 💪

This repository helpful to understand recommended architecture by google, Followed by Google I/O ❤️ guidelines written in Kotlin

Why Stater? 🤔

This repo is helpful to kick start any high-level project. Easy to customize and integrate with other libraries. I've used a simple & clean approach to integrate NewsAPI to show the latest content from Google News. It uses Retrofit 2 to fetch the news from the API(https://developer.android.com/topic/libraries/architecture/room.html)

Configure & Run the app 🚀

  • Go to NewsAPI and generate an API key (It's only 2 steps!)
  • Create new file -> credentials.properties
  • Add the API key as shown below: NEWS_API_KEY = "YOUR_API_KEY"
  • Run the app
  • hit run button 🎉

Thanks to Libraries ✨

Contributing 🤝

Pull requests are welcome. For major changes, please open an issue

License

MIT