News App for Android Basics by Google Nanodegree Program
App contains a main screen which displays multiple news stories
API Query
App queries the content.guardianapis.com api to fetch news stories related to the topic chosen by the student, using either the ‘test’ api key or the student’s key.
JSON Parsing
The JSON response is parsed correctly, and relevant information is stored in the app.
Response Validation
The app checks whether the device is connected to the internet and responds appropriately. The result of the request is validated to account for a bad server response or lack of server response.
List Item Contents
Each list item on the main screen displays relevant text and information about the story.
The title of the article and the name of the section that it belongs to are required field.
If available, author name and date published should be included. Please note not all responses will contain these pieces of data, but it is required to include them if they are present.
Use of Loaders
Networking operations are done using a Loader rather than an AsyncTask.
For Stage2:
Preference Summary
Settings Activity allows users to see the value of all the preferences right below the preference name, and when the value is changed, the summary updates immediate.
Settings Activity
Settings Activity is accessed from the Main Activity via a Navigation Drawer or from the toolbar menu.
In accordance with Material Design Guidelines, it should be reached via the "Settings" label. Do not use synonyms such as "Options" or "Preferences."
A short presentation of the application
https://www.youtube.com/watch?v=mKoHL3wfuYI
Stage1 : Main window:
Stage1 : Second window, News display
Stage2 : Main window:
Stage2 : Preferences