No description, website, or topics provided.
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
app
gradle/wrapper
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

MishMash

A News Application

This app uses NewApi.org Data. My Key for the API has been omitted from this code. I you use this code, get an API key from NewsApi.org. Then add it to the private String MY_KEY ="[your key]" at the top of the MainActivity.

The key plus the news source (variable is concatenated to form the URL) to the AsyncTask which performs and Http Get. Thn it gets the Json data from NewsAPI. The data is broken down by category and added to Arraylists that are then combines and passed to the Custom Adapter which then populates the RecyclerView.

Please note thet the following libraried must be added to the build.gradle(app) file: compile 'com.android.support:recyclerview-v7:25.2.0' (for the Recyclerview) compile 'com.android.support:cardview-v7:25.2.0' (The Card Library) compile 'com.squareup.picasso:picasso:2.5.2' (Picasso to load the images from the urls)