Pigeon - a news app in android. This android application fetches news using retrofit from NewsAPI.
- Suggested
- Business
- Technology
- General
- Entertainmemnt
- Health
- Science
- Sports
You can view the design in Figma Prototype
All the news are fetched from the news api. If you're cloning this project in your own machine don't forget to modify the API KEY
. You will get a new API Key on the NEWS API website
All the response you will get ion JSON format.
{
"status": "ok",
"sources": [
{
"id": "australian-financial-review",
"name": "Australian Financial Review",
"description": "The Australian Financial Review reports the latest news from business, finance, investment and politics, updated in real time. It has a reputation for independent, award-winning journalism and is essential reading for the business and investor community.",
"url": "http://www.afr.com",
"category": "business",
"language": "en",
"country": "au"
},
{
"id": "bloomberg",
"name": "Bloomberg",
"description": "Bloomberg delivers business and markets news, data, analysis, and video to the world, featuring stories from Businessweek and Bloomberg News.",
"url": "http://www.bloomberg.com",
"category": "business",
"language": "en",
"country": "us"
},
{
"id": "business-insider",
"name": "Business Insider",
"description": "Business Insider is a fast-growing business site with deep financial, media, tech, and other industry verticals. Launched in 2007, the site is now the largest business news site on the web.",
"url": "http://www.businessinsider.com",
"category": "business",
"language": "en",
"country": "us"
}
]
}
- Retrofit for network calls in background thread
- Glide to load images over the internet.
- GSON Library to parse the JSON
- Lottie to play the animation
Thanks to these projects and libraries: