NewsApp
Android Developer Nanodegree Capstone Project.
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.
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 :)
Note: To run the app you have to addSetup API Key
- 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:
Demo
-
Home
-
Widget
Libraries
- 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
Credits
- Udacity For teaching me Android
License
GNU General Public License v3.0