A bit overview, it uses newsapi.org API to get news and get JSON data back. Then it is parsed using google's gson library and the requests are sent by Retrofit.
Note: To run the app you have to add NewsAPI.org key. I have taken this step to due to limited access to daily request for News. Getting a key would take just few seconds :)
- Visit NewsAPI.org to get your API Key
- Copy your API Key from accounts section
- Open
gradle.properties
(Create the file if not exists)- For Linux/Mac:
/home/.gradle/gradle.properties
- For Windows:
C:\Users\<UserName>\.gradle\gradle.properties
- Add the following line:
NewsApi_ApiKey="YOUR_API_KEY"
- For Linux/Mac:
- Google gson For parsing JSON data
- Retrofit For sending network requests
- Glide Loading and caching images
- Room, LiveData and ViewModel Latest Android Architecture components
- Databinding Binding data and reducing 100s of Lines of Code
- Udacity For teaching me Android
GNU General Public License v3.0