This is a sample project based on Uncle Bob's clean architecture.
Once you got a copy of this project, you will see that the application is using some open api from News Api. An open source software that provides news data.
You will need to register on their site and get an API Key to get yourself started, and modify the SOURCE_VALUE inside AppConstants file based on your selected news url.
public static final String SOURCE_VALUE = "cnn";
Once you have done that. You will also have to add this to your application gradle file inside buildTypes enclosure.
buildTypes {
buildTypes.each {
it.buildConfigField 'String', 'NEWS_API_KEY', newsApiKey
}
}
Also don't forget to add newsApiKey inside your gradle.properties file
newsApiKey="API KEY GOES HERE"
- Edward Bryan Abergas - Android Developer - Bry1337
contributor who participated in this project.